summaryrefslogtreecommitdiff
path: root/src/gui/viewport.cpp
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-11-14 10:28:49 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-11-14 10:28:49 +0000
commit19eaabe57c3efb6b6b8b7bd9bcde8277c71a485d (patch)
tree647afb8c16e1938031932b5c7ddfc418d3ec14a6 /src/gui/viewport.cpp
parent69c147510bce9aa24be5ddcb3d050a5d52e3abe7 (diff)
downloadmana-19eaabe57c3efb6b6b8b7bd9bcde8277c71a485d.tar.gz
mana-19eaabe57c3efb6b6b8b7bd9bcde8277c71a485d.tar.bz2
mana-19eaabe57c3efb6b6b8b7bd9bcde8277c71a485d.tar.xz
mana-19eaabe57c3efb6b6b8b7bd9bcde8277c71a485d.zip
Experimented with non-stuck gaming when talking to NPCs.
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r--src/gui/viewport.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp
index 5c48c355..57c64cd6 100644
--- a/src/gui/viewport.cpp
+++ b/src/gui/viewport.cpp
@@ -357,10 +357,6 @@ Viewport::mousePressed(gcn::MouseEvent &event)
if (!mMap || !player_node || player_node->mAction == Being::DEAD)
return;
- // Check if we are busy
- if (current_npc)
- return;
-
mPlayerFollowMouse = false;
int tilex = (event.getX() + mCameraX) / 32;