diff options
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index d74c1fa1d..1738517b5 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -3682,8 +3682,12 @@ void Game::handlePointingAtNode(GameRunData *runData, SimpleSoundSpec(); if (playeritem_def.node_placement_prediction == "" || - nodedef_manager->get(map.getNodeNoEx(nodepos)).rightclickable) + nodedef_manager->get(map.getNodeNoEx(nodepos)).rightclickable) { client->interact(3, pointed); // Report to server + } else { + soundmaker->m_player_rightpunch_sound = + playeritem_def.sound_place_failed; + } } } } |