From edb279bdc22d94a88aabdd994bed5dd2b1c5659e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 3 Aug 2016 19:15:13 +0300 Subject: Add actor type elemental. --- src/gui/popups/popupmenu.cpp | 2 ++ src/gui/viewport.cpp | 1 + src/gui/windows/minimap.cpp | 1 + 3 files changed, 4 insertions(+) (limited to 'src/gui') diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index 2e153b0a8..d0896efaa 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -430,6 +430,7 @@ void PopupMenu::showPopup(const int x, const int y, const Being *const being) case ActorType::Unknown: case ActorType::FloorItem: case ActorType::Portal: + case ActorType::Elemental: #ifdef TMWA_SUPPORT case ActorType::LocalPet: #endif @@ -3200,6 +3201,7 @@ void PopupMenu::showGMPopup(const std::string &name) case ActorType::LocalPet: #endif case ActorType::Avatar: + case ActorType::Elemental: break; } } diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp index ab3d31588..485c93e44 100644 --- a/src/gui/viewport.cpp +++ b/src/gui/viewport.cpp @@ -901,6 +901,7 @@ void Viewport::mouseMoved(MouseEvent &event) case ActorType::Mercenary: case ActorType::Homunculus: case ActorType::SkillUnit: + case ActorType::Elemental: gui->setCursorType(mHoverBeing->getHoverCursor()); break; diff --git a/src/gui/windows/minimap.cpp b/src/gui/windows/minimap.cpp index 606b1ce7e..8d1bab734 100644 --- a/src/gui/windows/minimap.cpp +++ b/src/gui/windows/minimap.cpp @@ -372,6 +372,7 @@ void Minimap::draw2(Graphics *const graphics) case ActorType::Unknown: case ActorType::Player: case ActorType::FloorItem: + case ActorType::Elemental: default: continue; } -- cgit v1.2.3-70-g09d2