mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-21 00:19:29 +02:00
Gamestate is now passed as shared pointer
This commit is contained in:
@ -606,7 +606,7 @@ void CServerHandler::startMapAfterConnection(std::shared_ptr<CMapInfo> to)
|
||||
mapToStart = to;
|
||||
}
|
||||
|
||||
void CServerHandler::startGameplay(VCMI_LIB_WRAP_NAMESPACE(CGameState) * gameState)
|
||||
void CServerHandler::startGameplay(std::shared_ptr<CGameState> gameState)
|
||||
{
|
||||
if(GAME->mainmenu())
|
||||
GAME->mainmenu()->disable();
|
||||
|
Reference in New Issue
Block a user