# HG changeset patch # User unc0rr # Date 1367523889 -14400 # Node ID c8a6f789398df4a34b223fe33eed2c2f0d8fbc4b # Parent e906ebd596129d41275f8359708ad7c5031f493a Apparently resetPosition is not needed at all (/pause doesn't call it and works the same) diff -r e906ebd59612 -r c8a6f789398d hedgewars/hwengine.pas --- a/hedgewars/hwengine.pas Thu May 02 21:56:24 2013 +0400 +++ b/hedgewars/hwengine.pas Thu May 02 23:44:49 2013 +0400 @@ -220,10 +220,7 @@ SDL_MOUSEBUTTONDOWN: if GameState = gsConfirm then - begin - resetPosition(); - ParseCommand('quit', true); - end + ParseCommand('quit', true) else ProcessMouse(event.button, true);