summaryrefslogtreecommitdiff
path: root/src/net/tmwa/beingrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-01 21:34:57 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-01 21:34:57 +0300
commit348f7d0a0bc6142dbdcacddbca5b9003d5c25705 (patch)
treef0b6271868701497a9d85db5b3917983ea1e9523 /src/net/tmwa/beingrecv.cpp
parenta12cecc9df169c16959ea3ddf3e22351e8248215 (diff)
downloadmanaverse-348f7d0a0bc6142dbdcacddbca5b9003d5c25705.tar.gz
manaverse-348f7d0a0bc6142dbdcacddbca5b9003d5c25705.tar.bz2
manaverse-348f7d0a0bc6142dbdcacddbca5b9003d5c25705.tar.xz
manaverse-348f7d0a0bc6142dbdcacddbca5b9003d5c25705.zip
Remove ServerFeatures haveTeamId because it used only in tmwa.
Diffstat (limited to 'src/net/tmwa/beingrecv.cpp')
-rw-r--r--src/net/tmwa/beingrecv.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/net/tmwa/beingrecv.cpp b/src/net/tmwa/beingrecv.cpp
index 141f8e261..4b1bb631b 100644
--- a/src/net/tmwa/beingrecv.cpp
+++ b/src/net/tmwa/beingrecv.cpp
@@ -1382,10 +1382,7 @@ void BeingRecv::processPvpSet(Net::MessageIn &msg)
const BeingId id = msg.readBeingId("being id");
const int rank = msg.readInt32("rank");
int teamId = 0;
- if (serverFeatures->haveTeamId())
- teamId = msg.readInt32("team");
- else
- msg.readInt32("num");
+ teamId = msg.readInt32("team");
if (actorManager)
{
Being *const dstBeing = actorManager->findBeing(id);