Ver código fonte

ok now i really added a grace period for keypresses

naelstrof 10 anos atrás
pai
commit
ed3d175f0d
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2
    0
      main.cpp

+ 2
- 0
main.cpp Ver arquivo

@@ -53,6 +53,8 @@ int main( int argc, char** argv ) {
53 53
                 state = -1;
54 54
                 running = false;
55 55
             }
56
+        } else {
57
+            xengine->m_keypressed = false;
56 58
         }
57 59
         if ( xengine->mouseDown( 3 ) ) {
58 60
             printf( "X=0\n" );