diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-22 21:30:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-22 21:30:10 +0300 |
commit | 05099e035729878893845b0598e20109f0c734fe (patch) | |
tree | 7058923ca824049151442942fc513c5961055af4 /src/being/being.h | |
parent | 6394aa39611ce2730f4030a8ac45088ae6f20460 (diff) | |
download | plus-05099e035729878893845b0598e20109f0c734fe.tar.gz plus-05099e035729878893845b0598e20109f0c734fe.tar.bz2 plus-05099e035729878893845b0598e20109f0c734fe.tar.xz plus-05099e035729878893845b0598e20109f0c734fe.zip |
Show popup menu pet control commands only for pet owner.
Diffstat (limited to 'src/being/being.h')
-rw-r--r-- | src/being/being.h | 3 |
1 files changed, 3 insertions, 0 deletions
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(); |