From: Ryan Flegel Date: Wed, 24 Nov 2004 18:29:26 +0000 (+0000) Subject: - oops.. accidentally deleted a line X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=2b3ddba7601106f1021e8bbf9efa570eda573035;p=supertux.git - oops.. accidentally deleted a line SVN-Revision: 2174 --- diff --git a/src/gameloop.cpp b/src/gameloop.cpp index 69f9f717a..83d7da72f 100644 --- a/src/gameloop.cpp +++ b/src/gameloop.cpp @@ -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