summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
authorHal9OOO <miglietta.francesco@gmail.com>2012-10-25 19:15:19 +0200
committerHal9OOO <miglietta.francesco@gmail.com>2012-10-25 19:15:19 +0200
commit3531d0f9abc4c773cab8353a0b70ad3d4a3a255e (patch)
tree7f934b293c04321d6791f40f673b10a2e8ea1a0d /src/being.h
parent4358743175ef738cd2943ab1e5fb741c560f1bd4 (diff)
parent1e4aa6a5e7476bea736b89fe5d7094b6a68705e5 (diff)
downloadmanaverse-3531d0f9abc4c773cab8353a0b70ad3d4a3a255e.tar.gz
manaverse-3531d0f9abc4c773cab8353a0b70ad3d4a3a255e.tar.bz2
manaverse-3531d0f9abc4c773cab8353a0b70ad3d4a3a255e.tar.xz
manaverse-3531d0f9abc4c773cab8353a0b70ad3d4a3a255e.zip
Merge branch 'master' of gitorious.org:manaplus/manaplus
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/being.h b/src/being.h
index a9ccba82e..c7d8c3609 100644
--- a/src/being.h
+++ b/src/being.h
@@ -843,6 +843,9 @@ class Being : public ActorSprite, public ConfigListener
int getHitEffect(const Being *const attacker,
const AttackType type, const int attackId) const;
+ Cursor::Cursor getHoverCursor()
+ { return mInfo ? mInfo->getHoverCursor() : Cursor::CURSOR_POINTER; }
+
static uint8_t genderToInt(const Gender sex);
static Gender intToGender(uint8_t sex);