summaryrefslogtreecommitdiff
path: root/src/net/ea
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/net/ea
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/net/ea')
-rw-r--r--src/net/ea/beingrecv.cpp2
-rw-r--r--src/net/ea/beingrecv.h6
2 files changed, 5 insertions, 3 deletions
diff --git a/src/net/ea/beingrecv.cpp b/src/net/ea/beingrecv.cpp
index 154243258..c37cf2f82 100644
--- a/src/net/ea/beingrecv.cpp
+++ b/src/net/ea/beingrecv.cpp
@@ -548,7 +548,7 @@ void BeingRecv::setSprite(Being *const being,
const std::string &color,
const ItemColor colorId,
const IsWeapon isWeapon,
- const bool isTempSprite)
+ const IsTempSprite isTempSprite)
{
if (!being)
return;
diff --git a/src/net/ea/beingrecv.h b/src/net/ea/beingrecv.h
index f68d87880..200059327 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/istempsprite.h"
#include "enums/simpletypes/isweapon.h"
#include "enums/simpletypes/itemcolor.h"
@@ -54,12 +55,13 @@ namespace Ea
void processBeingMove3(Net::MessageIn &msg);
Being *createBeing(const BeingId id,
const int job);
- void setSprite(Being *const being, const unsigned int slot,
+ void setSprite(Being *const being,
+ const unsigned int slot,
const int id,
const std::string &color = "",
const ItemColor colorId = ItemColor_one,
const IsWeapon isWeapon = IsWeapon_false,
- const bool isTempSprite = false);
+ const IsTempSprite isTempSprite = IsTempSprite_false);
} // namespace BeingRecv
} // namespace Ea