summaryrefslogtreecommitdiff
path: root/src/gui/viewport.cpp
diff options
context:
space:
mode:
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: