# HG changeset patch # User sheepluva # Date 1475341572 -7200 # Node ID 837f9f1b84a545b69ea39b488e148e7c3501aa29 # Parent d7227dc3b3978d4f4cd7c052aa073a124b5b56fe fix issue 110 diff -r d7227dc3b397 -r 837f9f1b84a5 hedgewars/hwengine.pas --- 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);