Only save history when the key is pressed (and not again when it is released).

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/physics@10203 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2011-11-14 11:56:14 +00:00
parent 7f086ded7a
commit 09d998bc24

View File

@ -235,7 +235,7 @@ void InputManager::handleStaticAction(int key, int value)
break; break;
case KEY_F10: case KEY_F10:
if(world) history->Save(); if(world && value) history->Save();
break; break;
case KEY_F11: case KEY_F11: