mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
StartInfo in gamestate now use unique_ptr
This commit is contained in:
@@ -225,7 +225,7 @@ void ApplyOnServerNetPackVisitor::visitLobbyStartGame(LobbyStartGame & pack)
|
||||
return;
|
||||
}
|
||||
|
||||
pack.initializedStartInfo = std::make_shared<StartInfo>(*srv.gh->getStartInfo(true));
|
||||
pack.initializedStartInfo = std::make_shared<StartInfo>(*srv.gh->getInitialStartInfo());
|
||||
pack.initializedGameState = srv.gh->gameState();
|
||||
result = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user