diff options
Diffstat (limited to 'src/ThreadGame.hpp')
-rw-r--r-- | src/ThreadGame.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<GameState> gs; bool isRunning = true; bool isMoving[5] = { 0,0,0,0,0 }; public: |