Browse Source

ok now i really added a grace period for keypresses

naelstrof 11 years ago
parent
commit
ed3d175f0d
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      main.cpp

+ 2
- 0
main.cpp View File

53
                 state = -1;
53
                 state = -1;
54
                 running = false;
54
                 running = false;
55
             }
55
             }
56
+        } else {
57
+            xengine->m_keypressed = false;
56
         }
58
         }
57
         if ( xengine->mouseDown( 3 ) ) {
59
         if ( xengine->mouseDown( 3 ) ) {
58
             printf( "X=0\n" );
60
             printf( "X=0\n" );