Apparently resetPosition is not needed at all (/pause doesn't call it and works the same)
authorunc0rr
Thu, 02 May 2013 23:44:49 +0400
changeset 8948 c8a6f789398d
parent 8947 e906ebd59612
child 8949 fac5a075f021
Apparently resetPosition is not needed at all (/pause doesn't call it and works the same)
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);