- oops.. accidentally deleted a line
authorRyan Flegel <rflegel@gmail.com>
Wed, 24 Nov 2004 18:29:26 +0000 (18:29 +0000)
committerRyan Flegel <rflegel@gmail.com>
Wed, 24 Nov 2004 18:29:26 +0000 (18:29 +0000)
SVN-Revision: 2174

src/gameloop.cpp

index 69f9f71..83d7da7 100644 (file)
@@ -466,6 +466,7 @@ GameSession::process_events()
                         if(compare_last(last_keys, "grid"))
                           {    // toggle debug grid
                           debug_grid = !debug_grid;
+                          last_keys.clear();
                           }
                         if(compare_last(last_keys, "hover"))
                           {    // toggle hover ability on/off