1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-09-16 09:26:28 +02:00

- basic loading screen, no progress bar

- startGame() call will run in separate thread if loading screen is used (looks OK so far)
This commit is contained in:
Ivan Savenko
2012-12-17 18:01:17 +00:00
parent ff146a80fe
commit 62e99a1ae5
5 changed files with 65 additions and 27 deletions

View File

@@ -2420,8 +2420,9 @@ void CPlayerInterface::artifactDisassembled(const ArtifactLocation &al)
void CPlayerInterface::playerStartsTurn(ui8 player)
{
EVENT_HANDLER_CALLED_BY_CLIENT;
if(!GH.listInt.size())
if (GH.listInt.empty() || GH.listInt.front() != adventureInt)
{
GH.popInts(GH.listInt.size());
GH.pushInt(adventureInt);
}
if(howManyPeople == 1)