From 348f7d0a0bc6142dbdcacddbca5b9003d5c25705 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 1 May 2017 21:34:57 +0300 Subject: Remove ServerFeatures haveTeamId because it used only in tmwa. --- src/net/tmwa/beingrecv.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/net/tmwa/beingrecv.cpp') 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); -- cgit v1.2.3-60-g2f50