summaryrefslogtreecommitdiff
path: root/src/net/tmwa/beinghandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-20 00:15:42 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-20 00:15:42 +0300
commitf96919885dd0e5ae0de4a8517e76419304ca8d36 (patch)
tree2c39f6da9bd97c45d77c77f1b9ee0505f38be0e6 /src/net/tmwa/beinghandler.cpp
parent1dbf1cf1d87a38a327673b69c184ad662bd12cc4 (diff)
downloadmanaplus-f96919885dd0e5ae0de4a8517e76419304ca8d36.tar.gz
manaplus-f96919885dd0e5ae0de4a8517e76419304ca8d36.tar.bz2
manaplus-f96919885dd0e5ae0de4a8517e76419304ca8d36.tar.xz
manaplus-f96919885dd0e5ae0de4a8517e76419304ca8d36.zip
Fix code style.
Diffstat (limited to 'src/net/tmwa/beinghandler.cpp')
-rw-r--r--src/net/tmwa/beinghandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tmwa/beinghandler.cpp b/src/net/tmwa/beinghandler.cpp
index 80fda81be..8f482047f 100644
--- a/src/net/tmwa/beinghandler.cpp
+++ b/src/net/tmwa/beinghandler.cpp
@@ -1624,7 +1624,7 @@ void BeingHandler::processPvpSet(Net::MessageIn &msg)
if (dstBeing)
{
dstBeing->setPvpRank(rank);
- dstBeing->setTeamId(teamId);
+ dstBeing->setTeamId(static_cast<uint16_t>(teamId));
dstBeing->addToCache();
}
}