diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp index 3e2a9deb..176d9642 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -550,11 +550,18 @@ void Game::handleInput() used = true; } break; + + case KeyboardConfig::KEY_ATTACK: + player_node->attack(); + used = true; + break; + case KeyboardConfig::KEY_SIT: // Player sit action player_node->toggleSit(); used = true; break; + case KeyboardConfig::KEY_HIDE_WINDOWS: // Hide certain windows if (!chatWindow->isFocused()) |