diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-03-01 20:20:39 -0700 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-03-01 20:20:39 -0700 |
commit | f1fd493e561f30df91badf0665f92dbce861da0a (patch) | |
tree | 985dbd9257a05f17516b93f5f7a4254b8e298696 /src/game.cpp | |
parent | a65570a60c1d2f58d2f3fe01a4a54cd08a90d932 (diff) | |
download | mana-f1fd493e561f30df91badf0665f92dbce861da0a.tar.gz mana-f1fd493e561f30df91badf0665f92dbce861da0a.tar.bz2 mana-f1fd493e561f30df91badf0665f92dbce861da0a.tar.xz mana-f1fd493e561f30df91badf0665f92dbce861da0a.zip |
Only talk to NPCs with the keyboard with a target
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 6 |
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) |