summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
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 96c547e89..c83d0fb48 100644
--- a/src/being.h
+++ b/src/being.h
@@ -236,6 +236,9 @@ class Being : public ActorSprite, public ConfigListener
*/
virtual void handleAttack(Being *victim, int damage, AttackType type);
+ const ItemInfo *getEquippedWeapon() const
+ { return mEquippedWeapon; }
+
/**
* Returns the name of the being.
*/