summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/being.h b/src/being.h
index a1908f94..0c1d54d6 100644
--- a/src/being.h
+++ b/src/being.h
@@ -293,8 +293,10 @@ class Being : public ActorSprite, public EventListener
*/
void setSubtype(uint16_t subtype);
- const BeingInfo *getInfo() const
- { return mInfo; }
+ const BeingInfo &getInfo() const
+ { return *mInfo; }
+
+ bool isTargetSelection() const;
TargetCursorSize getTargetCursorSize() const override;