summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-05-05 01:36:41 +0300
committerAndrei Karas <akaras@inbox.ru>2011-05-05 01:51:06 +0300
commit4c3cfc12b580268b549d68213f54e9e8c64dd4d1 (patch)
tree1edcf58c17df2e82aa9c3fa1757640a96fd4b926 /src/net/tmwa
parentfb198a2e9c3e06f9cff759b25fd57fa3f3051ccf (diff)
downloadmanaplus-4c3cfc12b580268b549d68213f54e9e8c64dd4d1.tar.gz
manaplus-4c3cfc12b580268b549d68213f54e9e8c64dd4d1.tar.bz2
manaplus-4c3cfc12b580268b549d68213f54e9e8c64dd4d1.tar.xz
manaplus-4c3cfc12b580268b549d68213f54e9e8c64dd4d1.zip
Fix complilation warnings.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/beinghandler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/tmwa/beinghandler.cpp b/src/net/tmwa/beinghandler.cpp
index 402a3e7eb..582f755f1 100644
--- a/src/net/tmwa/beinghandler.cpp
+++ b/src/net/tmwa/beinghandler.cpp
@@ -477,8 +477,8 @@ void BeingHandler::handleMessage(Net::MessageIn &msg)
srcBeing = actorSpriteManager->findBeing(msg.readInt32());
dstBeing = actorSpriteManager->findBeing(msg.readInt32());
msg.readInt32(); // Server tick
- int srcSpeed = msg.readInt32(); // src speed
- int dstSpeed = msg.readInt32(); // dst speed
+ msg.readInt32(); // src speed
+ msg.readInt32(); // dst speed
param1 = msg.readInt32(); // Damage
msg.readInt16(); // Skill level
msg.readInt16(); // Div
@@ -505,7 +505,7 @@ void BeingHandler::handleMessage(Net::MessageIn &msg)
msg.readInt32(); // server tick
int srcSpeed = msg.readInt32(); // src speed
- int dstSpeed = msg.readInt32(); // dst speed
+ msg.readInt32(); // dst speed
param1 = msg.readInt16();
msg.readInt16(); // param 2
type = msg.readInt8();