diff options
Diffstat (limited to 'src/client/game.cpp')
-rw-r--r-- | src/client/game.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/game.cpp b/src/client/game.cpp index 93ec186c6..88607d1d8 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -2811,7 +2811,7 @@ void Game::handlePointingAtObject(const PointedThing &pointed, m_game_ui->setInfoText(infotext); - if (input->getLeftState()) { + if (input->getLeftState() || g_settings->getBool("autohit")) { bool do_punch = false; bool do_punch_damage = false; |