From 46d1266f00dfde5d04d7980daea4bab02e77cb69 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 21 Sep 2014 13:44:03 +0300 Subject: Use MercenaryInfo object for storing mercenary attributes. --- src/being/playerinfo.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/being/playerinfo.h') diff --git a/src/being/playerinfo.h b/src/being/playerinfo.h index abdc8bc69..c01fdd237 100644 --- a/src/being/playerinfo.h +++ b/src/being/playerinfo.h @@ -62,6 +62,8 @@ class FloorItem; class Inventory; class Item; +struct MercenaryInfo; + /** * A database like namespace which holds global info about the localplayer * @@ -234,6 +236,10 @@ namespace PlayerInfo bool isItemProtected(const int id); + MercenaryInfo *getMercenary(); + + void setMercenary(MercenaryInfo *const info); + } // namespace PlayerInfo #endif // BEING_PLAYERINFO_H -- cgit v1.2.3-70-g09d2