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/popups/popupmenu.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/popups/popupmenu.cpp')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index e74873a10..2e153b0a8 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -430,7 +430,9 @@ void PopupMenu::showPopup(const int x, const int y, const Being *const being) case ActorType::Unknown: case ActorType::FloorItem: case ActorType::Portal: +#ifdef TMWA_SUPPORT case ActorType::LocalPet: +#endif default: break; } @@ -3194,7 +3196,9 @@ void PopupMenu::showGMPopup(const std::string &name) showItemGMCommands(); break; case ActorType::Portal: +#ifdef TMWA_SUPPORT case ActorType::LocalPet: +#endif case ActorType::Avatar: break; } |