summaryrefslogtreecommitdiff
path: root/src/gui/viewport.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-29 03:12:26 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-29 03:12:26 +0300
commit448ff09baf47387c9cfb6919028b1d4bbe2c8f0b (patch)
tree35258d1b669dd6fa83d0a4d21792337c6f6c228d /src/gui/viewport.cpp
parent9993fbc1d1bec556143d974f148869e1fb4c6307 (diff)
downloadmv-448ff09baf47387c9cfb6919028b1d4bbe2c8f0b.tar.gz
mv-448ff09baf47387c9cfb6919028b1d4bbe2c8f0b.tar.bz2
mv-448ff09baf47387c9cfb6919028b1d4bbe2c8f0b.tar.xz
mv-448ff09baf47387c9cfb6919028b1d4bbe2c8f0b.zip
Add some missing tmwa defines.
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r--src/gui/viewport.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp
index a543f53bd..ab3d31588 100644
--- a/src/gui/viewport.cpp
+++ b/src/gui/viewport.cpp
@@ -835,8 +835,10 @@ void Viewport::mouseMoved(MouseEvent &event)
|| type == ActorType::Npc
|| type == ActorType::Homunculus
|| type == ActorType::Mercenary
- || type == ActorType::Pet
- || type == ActorType::LocalPet))
+#ifdef TMWA_SUPPORT
+ || type == ActorType::LocalPet
+#endif
+ || type == ActorType::Pet))
{
popupManager->hideTextPopup();
if (mShowBeingPopup && beingPopup)
@@ -892,7 +894,9 @@ void Viewport::mouseMoved(MouseEvent &event)
case ActorType::Npc:
case ActorType::Monster:
case ActorType::Portal:
+#ifdef TMWA_SUPPORT
case ActorType::LocalPet:
+#endif
case ActorType::Pet:
case ActorType::Mercenary:
case ActorType::Homunculus: