summaryrefslogtreecommitdiff
path: root/src/net/eathena/battlegroundrecv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/battlegroundrecv.cpp')
-rw-r--r--src/net/eathena/battlegroundrecv.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/eathena/battlegroundrecv.cpp b/src/net/eathena/battlegroundrecv.cpp
index dc01547b2..ecbeb5ef2 100644
--- a/src/net/eathena/battlegroundrecv.cpp
+++ b/src/net/eathena/battlegroundrecv.cpp
@@ -49,7 +49,7 @@ void BattleGroundRecv::processBattleEmblem2(Net::MessageIn &msg)
Being *const dstBeing = actorManager->findBeing(id);
if (dstBeing)
- dstBeing->setTeamId(teamId);
+ dstBeing->setTeamId(CAST_U16(teamId));
}
void BattleGroundRecv::processBattleUpdateScore(Net::MessageIn &msg)