author | sheepluva |
Sat, 01 Oct 2016 19:06:12 +0200 | |
changeset 11853 | 837f9f1b84a5 |
parent 11852 | d7227dc3b397 |
child 11854 | 0b8f2116aa26 |
--- a/hedgewars/hwengine.pas Sat Oct 01 16:45:59 2016 +0200 +++ b/hedgewars/hwengine.pas Sat Oct 01 19:06:12 2016 +0200 @@ -205,7 +205,8 @@ end; SDL_WINDOWEVENT_RESTORED: begin - GameState:= previousGameState; + if GameState = gsSuspend then + GameState:= previousGameState; {$IFDEF ANDROID} //This call is used to reinitialize the glcontext and reload the textures ParseCommand('fullscr '+intToStr(LongInt(cFullScreen)), true);