summaryrefslogtreecommitdiff
path: root/src/being/being.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-08 18:26:56 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-08 18:55:05 +0300
commit53ccb4e767914782172c09ead9076f9fccaa5253 (patch)
tree2bcf886b7c0b25c4a757892148fcd5c3778403ea /src/being/being.h
parente03f294796e1cd8d49d00fd86dc33959948924c7 (diff)
downloadmanaplus-53ccb4e767914782172c09ead9076f9fccaa5253.tar.gz
manaplus-53ccb4e767914782172c09ead9076f9fccaa5253.tar.bz2
manaplus-53ccb4e767914782172c09ead9076f9fccaa5253.tar.xz
manaplus-53ccb4e767914782172c09ead9076f9fccaa5253.zip
Add setTempSprite method into Being.
Diffstat (limited to 'src/being/being.h')
-rw-r--r--src/being/being.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/being/being.h b/src/being/being.h
index 6bfd13fc3..ccabeb36c 100644
--- a/src/being/being.h
+++ b/src/being/being.h
@@ -324,16 +324,20 @@ class Being notfinal : public ActorSprite,
std::string color,
ItemColor colorId,
const IsWeapon isWeapon,
- const IsTempSprite isTempSprite,
- const int *const cards)
- restrict2;
+ const int *const cards) restrict2;
+
+ void setTempSprite(const unsigned int slot,
+ const int id,
+ std::string color,
+ ItemColor colorId,
+ const IsWeapon isWeapon,
+ const int *const cards) restrict2;
void updateSprite(const unsigned int slot,
const int id,
const std::string &restrict color = "",
const ItemColor colorId = ItemColor_one,
- const IsWeapon isWeapon = IsWeapon_false,
- const IsTempSprite isTempSprite = IsTempSprite_false)
+ const IsWeapon isWeapon = IsWeapon_false)
restrict2;
void setSpriteID(const unsigned int slot,