Fixed a derp with the time

This commit is contained in:
Kayne Ruse
2013-06-24 12:18:36 +10:00
parent 0ca84a8653
commit 6a32599a69
2 changed files with 16 additions and 8 deletions
-6
View File
@@ -37,12 +37,8 @@
#include "SDL/SDL_thread.h"
#include <map>
#include <chrono>
#include <string>
//lazy
typedef std::chrono::high_resolution_clock Clock;
class ServerApplication {
public:
ServerApplication();
@@ -68,8 +64,6 @@ private:
UDPNetworkUtility* netUtil = Singleton<UDPNetworkUtility>::Get();
//members
Clock::time_point lastTick = Clock::now();
std::map<int, ClientEntry> clients;
std::map<int, PlayerEntry> players;