diff --git a/src/game/client/components/chat.cpp b/src/game/client/components/chat.cpp index 8959dd66e..5619d7b98 100644 --- a/src/game/client/components/chat.cpp +++ b/src/game/client/components/chat.cpp @@ -748,7 +748,7 @@ void CChat::OnPrepareLines() m_PrevScoreBoardShowed = m_pClient->m_pScoreboard->Active(); m_PrevShowChat = m_Show; - int64 Now = time_get(); + int64 Now = time(); float LineWidth = m_pClient->m_pScoreboard->Active() ? 90.0f : 200.0f; float HeightLimit = m_pClient->m_pScoreboard->Active() ? 230.0f : m_Show ? 50.0f : 200.0f; float Begin = x; diff --git a/src/game/client/components/chat.h b/src/game/client/components/chat.h index daf004a00..32b18bba5 100644 --- a/src/game/client/components/chat.h +++ b/src/game/client/components/chat.h @@ -5,6 +5,7 @@ #include #include #include +#include class CChat : public CComponent {