diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-08 14:30:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-08 14:30:28 +0300 |
commit | c9a31afec60a5085e0a3dbd26c15db397730a768 (patch) | |
tree | 08fe6126f1c1405a62be00425601613f19841601 /src/being/being.h | |
parent | c43a3b024bf3da2b0c7b6eb177b662d63db41808 (diff) | |
download | plus-c9a31afec60a5085e0a3dbd26c15db397730a768.tar.gz plus-c9a31afec60a5085e0a3dbd26c15db397730a768.tar.bz2 plus-c9a31afec60a5085e0a3dbd26c15db397730a768.tar.xz plus-c9a31afec60a5085e0a3dbd26c15db397730a768.zip |
Add strong typed bool IsWeapon.
Diffstat (limited to 'src/being/being.h')
-rw-r--r-- | src/being/being.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/being/being.h b/src/being/being.h index 296038876..ad31cd144 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -28,6 +28,7 @@ #include "enums/gui/usercolorid.h" +#include "enums/simpletypes/isweapon.h" #include "enums/simpletypes/move.h" #include "resources/beinginfo.h" @@ -321,14 +322,14 @@ class Being notfinal : public ActorSprite, const int id, std::string color = "", const ItemColor colorId = ItemColor_one, - const bool isWeapon = false, + const IsWeapon isWeapon = IsWeapon_false, const bool isTempSprite = false) restrict2; void updateSprite(const unsigned int slot, const int id, const std::string &restrict color = "", const ItemColor colorId = ItemColor_one, - const bool isWeapon = false, + const IsWeapon isWeapon = IsWeapon_false, const bool isTempSprite = false) restrict2; void setSpriteID(const unsigned int slot, |