summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
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;
}