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/beingrecv.h | |
parent | c43a3b024bf3da2b0c7b6eb177b662d63db41808 (diff) | |
download | manaplus-c9a31afec60a5085e0a3dbd26c15db397730a768.tar.gz manaplus-c9a31afec60a5085e0a3dbd26c15db397730a768.tar.bz2 manaplus-c9a31afec60a5085e0a3dbd26c15db397730a768.tar.xz manaplus-c9a31afec60a5085e0a3dbd26c15db397730a768.zip |
Add strong typed bool IsWeapon.
Diffstat (limited to 'src/net/ea/beingrecv.h')
-rw-r--r-- | src/net/ea/beingrecv.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 |