Clear screen when starting a game
This commit is contained in:
parent
bea13909af
commit
5ffe257285
1 changed files with 4 additions and 0 deletions
|
@ -528,6 +528,10 @@ global void CreateGame(char* filename, WorldMap* map)
|
||||||
GameResult=GameNoResult;
|
GameResult=GameNoResult;
|
||||||
|
|
||||||
CommandLog(NULL,NoUnitP,FlushCommands,-1,-1,NoUnitP,NULL,-1);
|
CommandLog(NULL,NoUnitP,FlushCommands,-1,-1,NoUnitP,NULL,-1);
|
||||||
|
DestroyCursorBackground();
|
||||||
|
VideoLockScreen();
|
||||||
|
VideoClearScreen();
|
||||||
|
VideoUnlockScreen();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue