summaryrefslogtreecommitdiff
path: root/src/being/being.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-08 15:09:19 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-08 15:09:19 +0300
commit83b27b146211fe301f751a6aed27e22271190795 (patch)
tree0da6e720a250661030a0221ef444c8884a1dbe13 /src/being/being.h
parentc9a31afec60a5085e0a3dbd26c15db397730a768 (diff)
downloadplus-83b27b146211fe301f751a6aed27e22271190795.tar.gz
plus-83b27b146211fe301f751a6aed27e22271190795.tar.bz2
plus-83b27b146211fe301f751a6aed27e22271190795.tar.xz
plus-83b27b146211fe301f751a6aed27e22271190795.zip
Add strong typed bool IsTempSprite.
Diffstat (limited to 'src/being/being.h')
-rw-r--r--src/being/being.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/being/being.h b/src/being/being.h
index ad31cd144..b71f38c0a 100644
--- a/src/being/being.h
+++ b/src/being/being.h
@@ -28,6 +28,7 @@
#include "enums/gui/usercolorid.h"
+#include "enums/simpletypes/istempsprite.h"
#include "enums/simpletypes/isweapon.h"
#include "enums/simpletypes/move.h"
@@ -323,14 +324,16 @@ class Being notfinal : public ActorSprite,
std::string color = "",
const ItemColor colorId = ItemColor_one,
const IsWeapon isWeapon = IsWeapon_false,
- const bool isTempSprite = false) restrict2;
+ const IsTempSprite isTempSprite = IsTempSprite_false)
+ 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 bool isTempSprite = false) restrict2;
+ const IsTempSprite isTempSprite = IsTempSprite_false)
+ restrict2;
void setSpriteID(const unsigned int slot,
const int id) restrict2;