summaryrefslogtreecommitdiff
path: root/src/gui/windows/minimap.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-10 23:58:39 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-10 23:58:39 +0300
commit0a39e956218ca15bf78803f89141c7c9dfcec0d9 (patch)
treeadfc0fcd42792ddad6b3cb8843d6fe0c22170580 /src/gui/windows/minimap.cpp
parent69022cd939e572feadaadf1041ae7dadad782ed6 (diff)
downloadmanaverse-0a39e956218ca15bf78803f89141c7c9dfcec0d9.tar.gz
manaverse-0a39e956218ca15bf78803f89141c7c9dfcec0d9.tar.bz2
manaverse-0a39e956218ca15bf78803f89141c7c9dfcec0d9.tar.xz
manaverse-0a39e956218ca15bf78803f89141c7c9dfcec0d9.zip
Change format in ActorType enum.
Diffstat (limited to 'src/gui/windows/minimap.cpp')
-rw-r--r--src/gui/windows/minimap.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gui/windows/minimap.cpp b/src/gui/windows/minimap.cpp
index 048b4350e..e242b7401 100644
--- a/src/gui/windows/minimap.cpp
+++ b/src/gui/windows/minimap.cpp
@@ -291,7 +291,7 @@ void Minimap::draw(Graphics *graphics)
const ActorSprites &actors = actorManager->getAll();
FOR_EACH (ActorSpritesConstIterator, it, actors)
{
- if (!(*it) || (*it)->getType() == ActorType::FLOOR_ITEM)
+ if (!(*it) || (*it)->getType() == ActorType::FloorItem)
continue;
const Being *const being = static_cast<const Being *const>(*it);
@@ -319,20 +319,20 @@ void Minimap::draw(Graphics *graphics)
{
switch (being->getType())
{
- case ActorType::MONSTER:
+ case ActorType::Monster:
type = UserPalette::MONSTER;
break;
- case ActorType::NPC:
+ case ActorType::Npc:
type = UserPalette::NPC;
break;
- case ActorType::AVATAR:
- case ActorType::UNKNOWN:
- case ActorType::PLAYER:
- case ActorType::FLOOR_ITEM:
- case ActorType::PORTAL:
- case ActorType::LOCAL_PET:
+ case ActorType::Avatar:
+ case ActorType::Unknown:
+ case ActorType::Player:
+ case ActorType::FloorItem:
+ case ActorType::Portal:
+ case ActorType::LocalPet:
default:
continue;
}