summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-16 17:30:45 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-16 17:30:45 +0300
commitc2aaab0b81248dea60472934c5be64c417376549 (patch)
tree62f45249705fdf870e1f9f88de102dd521199dae /src/net/tmwa
parentb5b386c2de8c9b988ed19c979f0d4b1d7fcfdbd4 (diff)
downloadmanaplus-c2aaab0b81248dea60472934c5be64c417376549.tar.gz
manaplus-c2aaab0b81248dea60472934c5be64c417376549.tar.bz2
manaplus-c2aaab0b81248dea60472934c5be64c417376549.tar.xz
manaplus-c2aaab0b81248dea60472934c5be64c417376549.zip
Add team id into beings cache.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/beinghandler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/tmwa/beinghandler.cpp b/src/net/tmwa/beinghandler.cpp
index e80dfd8a1..80fda81be 100644
--- a/src/net/tmwa/beinghandler.cpp
+++ b/src/net/tmwa/beinghandler.cpp
@@ -1625,6 +1625,7 @@ void BeingHandler::processPvpSet(Net::MessageIn &msg)
{
dstBeing->setPvpRank(rank);
dstBeing->setTeamId(teamId);
+ dstBeing->addToCache();
}
}
BLOCK_END("BeingHandler::processPvpSet")