Explorar o código

Two misprint in command letters

Jovian (Toshiba) %!s(int64=6) %!d(string=hai) anos
pai
achega
611b21e32b
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      Game.cpp

+ 2 - 2
Game.cpp

@@ -366,10 +366,10 @@ bool Game::rush( string planet )
         if ( m_input.getToucheHeld( SDLK_SPACE ) || m_input.getToucheHeld( SDLK_r ) ) // Touche r
             m_player.fire( BREXIT_ID );
 
-        if ( m_input.getToucheHeld( SDLK_SPACE ) || m_input.getToucheHeld( SDLK_t ) ) // Touche r
+        if ( m_input.getToucheHeld( SDLK_SPACE ) || m_input.getToucheHeld( SDLK_t ) ) // Touche t
             m_player.fire( HECTO_ID );
 
-        if ( m_input.getToucheHeld( SDLK_SPACE ) || m_input.getToucheHeld( SDLK_y ) ) // Touche r
+        if ( m_input.getToucheHeld( SDLK_SPACE ) || m_input.getToucheHeld( SDLK_y ) ) // Touche y
             m_player.fire( SNIPER_ID );
 
         // [2.3] Mise à jour des éléments