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/net/ea | |
parent | c43a3b024bf3da2b0c7b6eb177b662d63db41808 (diff) | |
download | manaverse-c9a31afec60a5085e0a3dbd26c15db397730a768.tar.gz manaverse-c9a31afec60a5085e0a3dbd26c15db397730a768.tar.bz2 manaverse-c9a31afec60a5085e0a3dbd26c15db397730a768.tar.xz manaverse-c9a31afec60a5085e0a3dbd26c15db397730a768.zip |
Add strong typed bool IsWeapon.
Diffstat (limited to 'src/net/ea')
-rw-r--r-- | src/net/ea/beingrecv.cpp | 2 | ||||
-rw-r--r-- | src/net/ea/beingrecv.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/net/ea/beingrecv.cpp b/src/net/ea/beingrecv.cpp index 7b8d74328..154243258 100644 --- a/src/net/ea/beingrecv.cpp +++ b/src/net/ea/beingrecv.cpp @@ -547,7 +547,7 @@ void BeingRecv::setSprite(Being *const being, const int id, const std::string &color, const ItemColor colorId, - const bool isWeapon, + const IsWeapon isWeapon, const bool isTempSprite) { if (!being) diff --git a/src/net/ea/beingrecv.h b/src/net/ea/beingrecv.h index 9c98ba12e..f68d87880 100644 --- a/src/net/ea/beingrecv.h +++ b/src/net/ea/beingrecv.h @@ -24,6 +24,7 @@ #define NET_EA_BEINGRECV_H #include "enums/simpletypes/beingid.h" +#include "enums/simpletypes/isweapon.h" #include "enums/simpletypes/itemcolor.h" #include <string> @@ -57,7 +58,7 @@ namespace Ea const int id, const std::string &color = "", const ItemColor colorId = ItemColor_one, - const bool isWeapon = false, + const IsWeapon isWeapon = IsWeapon_false, const bool isTempSprite = false); } // namespace BeingRecv } // namespace Ea |