diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-07-29 03:12:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-07-29 03:12:26 +0300 |
commit | 448ff09baf47387c9cfb6919028b1d4bbe2c8f0b (patch) | |
tree | 35258d1b669dd6fa83d0a4d21792337c6f6c228d /src/gui/viewport.cpp | |
parent | 9993fbc1d1bec556143d974f148869e1fb4c6307 (diff) | |
download | manaplus-448ff09baf47387c9cfb6919028b1d4bbe2c8f0b.tar.gz manaplus-448ff09baf47387c9cfb6919028b1d4bbe2c8f0b.tar.bz2 manaplus-448ff09baf47387c9cfb6919028b1d4bbe2c8f0b.tar.xz manaplus-448ff09baf47387c9cfb6919028b1d4bbe2c8f0b.zip |
Add some missing tmwa defines.
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r-- | src/gui/viewport.cpp | 8 |
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: |