summaryrefslogtreecommitdiff
path: root/src/gui/viewport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r--src/gui/viewport.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp
index 319476591..2a8d36a60 100644
--- a/src/gui/viewport.cpp
+++ b/src/gui/viewport.cpp
@@ -33,6 +33,7 @@
#include "localplayer.h"
#include "map.h"
#include "maplayer.h"
+#include "playerinfo.h"
#include "textmanager.h"
#include "gui/beingpopup.h"
@@ -409,7 +410,7 @@ void Viewport::mousePressed(gcn::MouseEvent &event)
// Check if we are busy
// if commented, allow context menu if npc dialog open
- if (Being::isTalking())
+ if (PlayerInfo::isTalking())
return;
const int pixelX = event.getX() + mPixelViewX;