From abe317e31bb9b9a88b0c88b1477a952240d1847f Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Sat, 13 Jan 2018 14:58:40 +0500 Subject: Replaced all usages of NC to new implementation --- src/GameState.hpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/GameState.hpp') diff --git a/src/GameState.hpp b/src/GameState.hpp index 4894628..7145df5 100644 --- a/src/GameState.hpp +++ b/src/GameState.hpp @@ -14,8 +14,6 @@ class NetworkClient; class Entity; class GameState { - std::mutex packetsMutex; - std::queue> packets; public: GameState() = default; @@ -24,7 +22,7 @@ public: void Update(float deltaTime); - void UpdatePacket(NetworkClient *nc); + void UpdatePacket(std::shared_ptr ptr); enum Direction { FORWARD, BACKWARD, LEFT, RIGHT, JUMP -- cgit v1.2.3