summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-10 23:38:11 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-10 23:38:11 +0300
commit69022cd939e572feadaadf1041ae7dadad782ed6 (patch)
treef834f3c8ccbcceec55bc7950cd1f6d9bf877e77e /src/gui
parentfe921bd36d4b2ac70ac6c815c166ec8fd9a210aa (diff)
downloadmv-69022cd939e572feadaadf1041ae7dadad782ed6.tar.gz
mv-69022cd939e572feadaadf1041ae7dadad782ed6.tar.bz2
mv-69022cd939e572feadaadf1041ae7dadad782ed6.tar.xz
mv-69022cd939e572feadaadf1041ae7dadad782ed6.zip
Rename PET type into LOCAL_PET.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/popups/popupmenu.cpp2
-rw-r--r--src/gui/viewport.cpp4
-rw-r--r--src/gui/windows/minimap.cpp2
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;
}