From f24107368fa47f911f4491f644ff3755525c91e1 Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Sat, 19 Aug 2017 20:20:51 +0500 Subject: 2017-08-19 --- src/ThreadGame.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ThreadGame.hpp') diff --git a/src/ThreadGame.hpp b/src/ThreadGame.hpp index 9894235..41676d6 100644 --- a/src/ThreadGame.hpp +++ b/src/ThreadGame.hpp @@ -5,7 +5,7 @@ #include "Event.hpp" class ThreadGame: Thread { - GameState *gs = nullptr; + std::shared_ptr gs; bool isRunning = true; bool isMoving[5] = { 0,0,0,0,0 }; public: -- cgit v1.2.3