diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 2 | ||||
-rw-r--r-- | src/gui/viewport.cpp | 4 | ||||
-rw-r--r-- | src/gui/windows/minimap.cpp | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index cc73cbc59..d478719b2 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -303,7 +303,7 @@ void PopupMenu::showPopup(const int x, const int y, const Being *const being) case ActorType::UNKNOWN: case ActorType::FLOOR_ITEM: case ActorType::PORTAL: - case ActorType::PET: + case ActorType::LOCAL_PET: default: break; } diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp index 96cd080da..8d9fcd958 100644 --- a/src/gui/viewport.cpp +++ b/src/gui/viewport.cpp @@ -762,7 +762,7 @@ void Viewport::mouseMoved(MouseEvent &event A_UNUSED) if (mHoverBeing && (type == ActorType::PLAYER || type == ActorType::NPC - || type == ActorType::PET)) + || type == ActorType::LOCAL_PET)) { popupManager->hideTextPopup(); if (mShowBeingPopup && beingPopup) @@ -831,7 +831,7 @@ void Viewport::mouseMoved(MouseEvent &event A_UNUSED) case ActorType::FLOOR_ITEM: case ActorType::UNKNOWN: case ActorType::PLAYER: - case ActorType::PET: + case ActorType::LOCAL_PET: default: gui->setCursorType(Cursor::CURSOR_POINTER); break; diff --git a/src/gui/windows/minimap.cpp b/src/gui/windows/minimap.cpp index b3a131960..048b4350e 100644 --- a/src/gui/windows/minimap.cpp +++ b/src/gui/windows/minimap.cpp @@ -332,7 +332,7 @@ void Minimap::draw(Graphics *graphics) case ActorType::PLAYER: case ActorType::FLOOR_ITEM: case ActorType::PORTAL: - case ActorType::PET: + case ActorType::LOCAL_PET: default: continue; } |