summaryrefslogtreecommitdiffstats
path: root/src/Event.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Event.hpp')
-rw-r--r--src/Event.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Event.hpp b/src/Event.hpp
index 5467f85..e7ebe66 100644
--- a/src/Event.hpp
+++ b/src/Event.hpp
@@ -60,7 +60,7 @@ struct ConnectToServerData {
class NetworkClient;
struct ConnectionSuccessfullData {
- NetworkClient *ptr;
+ std::shared_ptr<NetworkClient> ptr;
};
struct DisconnectData {
@@ -86,7 +86,7 @@ struct RegisterNetworkClientData {
class GameState;
struct PlayerConnectedData {
- GameState *ptr;
+ std::shared_ptr<GameState> ptr;
};
struct RemoveLoadingScreenData {