summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-03 19:15:13 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-03 19:15:13 +0300
commitedb279bdc22d94a88aabdd994bed5dd2b1c5659e (patch)
treeb7f184aff5e9340d9a060834b72b3df0a7961e7b /src/gui
parent2d9b4f091c8265329220c56db76da9eb252d4a2d (diff)
downloadmanaplus-edb279bdc22d94a88aabdd994bed5dd2b1c5659e.tar.gz
manaplus-edb279bdc22d94a88aabdd994bed5dd2b1c5659e.tar.bz2
manaplus-edb279bdc22d94a88aabdd994bed5dd2b1c5659e.tar.xz
manaplus-edb279bdc22d94a88aabdd994bed5dd2b1c5659e.zip
Add actor type elemental.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/popups/popupmenu.cpp2
-rw-r--r--src/gui/viewport.cpp1
-rw-r--r--src/gui/windows/minimap.cpp1
3 files changed, 4 insertions, 0 deletions
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;
}