diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-07-09 00:05:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-07-09 00:05:18 +0300 |
commit | 3f31d4f379f2baa5ae98f3a5f551307735820fa3 (patch) | |
tree | 280bb5cf26dcfa04dc7bb21ebdcf5b6f9816ad0b /src/being.cpp | |
parent | 0cb852ac8e4a977d8ca74c2ae895ab132436754a (diff) | |
download | manaverse-3f31d4f379f2baa5ae98f3a5f551307735820fa3.tar.gz manaverse-3f31d4f379f2baa5ae98f3a5f551307735820fa3.tar.bz2 manaverse-3f31d4f379f2baa5ae98f3a5f551307735820fa3.tar.xz manaverse-3f31d4f379f2baa5ae98f3a5f551307735820fa3.zip |
Fix updating local player status.
Diffstat (limited to 'src/being.cpp')
-rw-r--r-- | src/being.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/being.cpp b/src/being.cpp index 0b4ac3ccd..d8e3119b5 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -1793,6 +1793,9 @@ bool Being::updateFromCache() void Being::addToCache() { + if (player_node == this) + return; + BeingCacheEntry *entry = Being::getCacheEntry(getId()); if (!entry) { |