]> git.localhorst.tv Git - blank.git/blobdiff - src/net/ClientConnection.hpp
fixed old packet acks
[blank.git] / src / net / ClientConnection.hpp
index 7fb797bea1d89870034ffcb4ef23803f83b69def..f344efdcf883d6aa277e97ae2327ed8b34f4e089 100644 (file)
@@ -4,6 +4,7 @@
 #include "Connection.hpp"
 #include "ConnectionHandler.hpp"
 #include "../app/IntervalTimer.hpp"
+#include "../world/EntityState.hpp"
 
 #include <list>
 #include <SDL_net.h>
@@ -70,6 +71,7 @@ private:
        Entity *player;
        std::list<SpawnStatus> spawns;
        unsigned int confirm_wait;
+       EntityState player_update_state;
        std::uint16_t player_update_pack;
        IntervalTimer player_update_timer;