summaryrefslogtreecommitdiff
path: root/src/net/ea/beingnet.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-24 00:54:58 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-24 00:54:58 +0300
commitbedfca1c1cb893c937d317dd658067166e9953e0 (patch)
treece243b13bbdd91118ce832181845b1638f1fb749 /src/net/ea/beingnet.cpp
parentb152b3efe16aee225547846838aae78cd0c6d02e (diff)
downloadmv-bedfca1c1cb893c937d317dd658067166e9953e0.tar.gz
mv-bedfca1c1cb893c937d317dd658067166e9953e0.tar.bz2
mv-bedfca1c1cb893c937d317dd658067166e9953e0.tar.xz
mv-bedfca1c1cb893c937d317dd658067166e9953e0.zip
Fix compilation warnings.
Diffstat (limited to 'src/net/ea/beingnet.cpp')
-rw-r--r--src/net/ea/beingnet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/ea/beingnet.cpp b/src/net/ea/beingnet.cpp
index c7f64aa66..621e76b0c 100644
--- a/src/net/ea/beingnet.cpp
+++ b/src/net/ea/beingnet.cpp
@@ -366,7 +366,7 @@ void BeingNet::processSkillNoDamage(Net::MessageIn &msg)
msg.readBeingId("dst being id"));
Being *const srcBeing = actorManager->findBeing(
msg.readBeingId("src being id"));
- const int flag = msg.readUInt8("fail");
+ msg.readUInt8("fail");
if (srcBeing)
srcBeing->handleSkill(dstBeing, heal, id, 1);