summaryrefslogtreecommitdiff
path: root/src/being/playerinfo.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-04 00:32:09 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-04 00:32:09 +0300
commit109f2df166a15261e2a43f1a73c7f4aeeb13b681 (patch)
tree78dc01b9e04b77948315bea3df618cff330aa29a /src/being/playerinfo.h
parent7fec02806b7aece2504b1f9920b6252788067d86 (diff)
downloadmanaplus-109f2df166a15261e2a43f1a73c7f4aeeb13b681.tar.gz
manaplus-109f2df166a15261e2a43f1a73c7f4aeeb13b681.tar.bz2
manaplus-109f2df166a15261e2a43f1a73c7f4aeeb13b681.tar.xz
manaplus-109f2df166a15261e2a43f1a73c7f4aeeb13b681.zip
Remember id of own elemental.
Diffstat (limited to 'src/being/playerinfo.h')
-rw-r--r--src/being/playerinfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/being/playerinfo.h b/src/being/playerinfo.h
index d7c1be8fa..2991d0adc 100644
--- a/src/being/playerinfo.h
+++ b/src/being/playerinfo.h
@@ -269,10 +269,14 @@ namespace PlayerInfo
void setHomunculusBeing(Being *const being);
+ void setElemental(const BeingId id);
+
BeingId getHomunculusId();
BeingId getMercenaryId();
+ BeingId getElementalId();
+
void updateMoveAI();
void updateAttackAi(const BeingId targetId,