diff options
Diffstat (limited to 'Stars45/NetGameClient.cpp')
-rw-r--r-- | Stars45/NetGameClient.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Stars45/NetGameClient.cpp b/Stars45/NetGameClient.cpp index 89e1ff0..c333547 100644 --- a/Stars45/NetGameClient.cpp +++ b/Stars45/NetGameClient.cpp @@ -39,7 +39,7 @@ #include "NetLayer.h" #include "NetPeer.h" -#include "Game.h" +#include "Clock.h" #include "ContentBundle.h" #include "Light.h" @@ -936,7 +936,7 @@ NetGameClient::DoSelfDestruct(NetMsg* msg) void NetGameClient::Send() { - DWORD time = Game::GetInstance()->GetClock()->GameTime(); + DWORD time = Clock::GetInstance()->GameTime(); // don't flood the network... if (time - last_send_time < MIN_NET_FRAME) |