summaryrefslogtreecommitdiff
path: root/src/gui/viewport.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-24 00:19:04 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-24 00:19:04 +0300
commit2741064fe3e73d069087b0f99a8357d67ec632af (patch)
treee3b2fd2d2fe724e58a30813b328f12c4982ff4ad /src/gui/viewport.cpp
parent953def973957a54525199b7c635ece2ab2f7b94c (diff)
downloadplus-2741064fe3e73d069087b0f99a8357d67ec632af.tar.gz
plus-2741064fe3e73d069087b0f99a8357d67ec632af.tar.bz2
plus-2741064fe3e73d069087b0f99a8357d67ec632af.tar.xz
plus-2741064fe3e73d069087b0f99a8357d67ec632af.zip
fix code style.
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r--src/gui/viewport.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp
index da771b397..f3ec2a743 100644
--- a/src/gui/viewport.cpp
+++ b/src/gui/viewport.cpp
@@ -908,12 +908,10 @@ void Viewport::mouseMoved(gcn::MouseEvent &event A_UNUSED)
{
switch (mHoverBeing->getType())
{
- // NPCs
case ActorSprite::NPC:
gui->setCursorType(mHoverBeing->getHoverCursor());
break;
- // Monsters
case ActorSprite::MONSTER:
gui->setCursorType(mHoverBeing->getHoverCursor());
break;
@@ -922,6 +920,7 @@ void Viewport::mouseMoved(gcn::MouseEvent &event A_UNUSED)
gui->setCursorType(mHoverBeing->getHoverCursor());
break;
+ case ActorSprite::AVATAR:
case ActorSprite::FLOOR_ITEM:
case ActorSprite::UNKNOWN:
case ActorSprite::PLAYER: