summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/game.cpp b/src/game.cpp
index d6445ecc..7a7ff53c 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -885,12 +885,6 @@ void Game::handleInput()
{
Being *target = player_node->getTarget();
- if (!target)
- {
- target = beingManager->findNearestLivingBeing(
- x, y, 20, Being::NPC);
- }
-
if (target)
{
if (target->getType() == Being::NPC)