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.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp
index 9db1707c..8c174c8d 100644
--- a/src/gui/viewport.cpp
+++ b/src/gui/viewport.cpp
@@ -587,17 +587,12 @@ void Viewport::updateCursorType()
{
switch (mHoverBeing->getType())
{
- // NPCs
case ActorSprite::NPC:
- gui->setCursorType(Cursor::TALK);
- break;
-
- // Monsters
case ActorSprite::MONSTER:
- gui->setCursorType(Cursor::FIGHT);
+ gui->setCursorType(mHoverBeing->getHoverCursor());
break;
default:
- gui->setCursorType(Cursor::POINTER);
+ gui->setCursorType(Cursor::POINTER);
break;
}
// Item mouseover