From 05099e035729878893845b0598e20109f0c734fe Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 22 Feb 2015 21:30:10 +0300 Subject: Show popup menu pet control commands only for pet owner. --- src/being/being.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/being/being.h') diff --git a/src/being/being.h b/src/being/being.h index b587a8d1f..6e7fb346c 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -840,6 +840,9 @@ class Being notfinal : public ActorSprite, void setOwner(Being *const owner) { mOwner = owner; } + Being *getOwner() const + { return mOwner; } + void unassignPet(const Being *const pet); void removeAllPets(); -- cgit v1.2.3-60-g2f50