summaryrefslogtreecommitdiffhomepage
path: root/StarsEx/NetLobbyClient.cpp
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-04-03 22:51:15 +0200
committerAki <please@ignore.pl>2022-04-03 22:51:15 +0200
commit4cc312f90d27ea7abb010bd317188d9d08a9fd3e (patch)
tree844ae61007f22a9c561221aad814a54562972641 /StarsEx/NetLobbyClient.cpp
parent4b8ddd088afb8f0021c6cfa1b7700e0b521b8ac5 (diff)
downloadstarshatter-4cc312f90d27ea7abb010bd317188d9d08a9fd3e.zip
starshatter-4cc312f90d27ea7abb010bd317188d9d08a9fd3e.tar.gz
starshatter-4cc312f90d27ea7abb010bd317188d9d08a9fd3e.tar.bz2
Added base game mode management to Game
Diffstat (limited to 'StarsEx/NetLobbyClient.cpp')
-rw-r--r--StarsEx/NetLobbyClient.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/StarsEx/NetLobbyClient.cpp b/StarsEx/NetLobbyClient.cpp
index ca0ff81..df66900 100644
--- a/StarsEx/NetLobbyClient.cpp
+++ b/StarsEx/NetLobbyClient.cpp
@@ -28,6 +28,7 @@
#include "NetLayer.h"
#include "FormatUtil.h"
#include "VersionInfo.h"
+#include "Game.h"
// +-------------------------------------------------------------------+
@@ -217,7 +218,7 @@ NetLobbyClient::GameStart()
Sleep(100);
SetStatus(NetServerInfo::ACTIVE);
- Starshatter::GetInstance()->SetGameMode(Starshatter::PREP_MODE);
+ Starshatter::GetInstance()->SetGameMode(Game::PREP_MODE);
// discard unit map selection data so that
// it will be refreshed when we return to