summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-21 23:11:05 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-21 23:22:06 +0300
commit67d5177ef4f5d54ea8edc5403ed20f9ade56e8bf (patch)
tree0efb80c3cf13e5f859c522da923cf7fddac90bc5 /src/gui
parent73f36dd1934b3d0cdd52f13cab15480de4d0b9d2 (diff)
downloadmanaverse-67d5177ef4f5d54ea8edc5403ed20f9ade56e8bf.tar.gz
manaverse-67d5177ef4f5d54ea8edc5403ed20f9ade56e8bf.tar.bz2
manaverse-67d5177ef4f5d54ea8edc5403ed20f9ade56e8bf.tar.xz
manaverse-67d5177ef4f5d54ea8edc5403ed20f9ade56e8bf.zip
fix code style and some other fixes after auto checks.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/minimap.cpp1
-rw-r--r--src/gui/popupmenu.cpp1
-rw-r--r--src/gui/viewport.cpp1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/minimap.cpp b/src/gui/minimap.cpp
index e2087117d..6c7a32a71 100644
--- a/src/gui/minimap.cpp
+++ b/src/gui/minimap.cpp
@@ -325,6 +325,7 @@ void Minimap::draw(gcn::Graphics *graphics)
case ActorSprite::PLAYER:
case ActorSprite::FLOOR_ITEM:
case ActorSprite::PORTAL:
+ case ActorSprite::PET:
default:
continue;
}
diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp
index a66a534f7..ecb24849f 100644
--- a/src/gui/popupmenu.cpp
+++ b/src/gui/popupmenu.cpp
@@ -254,6 +254,7 @@ void PopupMenu::showPopup(const int x, const int y, const Being *const being)
case ActorSprite::UNKNOWN:
case ActorSprite::FLOOR_ITEM:
case ActorSprite::PORTAL:
+ case ActorSprite::PET:
default:
/* Other beings aren't interesting... */
return;
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp
index e4bbc8f5c..da771b397 100644
--- a/src/gui/viewport.cpp
+++ b/src/gui/viewport.cpp
@@ -925,6 +925,7 @@ void Viewport::mouseMoved(gcn::MouseEvent &event A_UNUSED)
case ActorSprite::FLOOR_ITEM:
case ActorSprite::UNKNOWN:
case ActorSprite::PLAYER:
+ case ActorSprite::PET:
default:
gui->setCursorType(Cursor::CURSOR_POINTER);
break;