From 3f31d4f379f2baa5ae98f3a5f551307735820fa3 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 9 Jul 2011 00:05:18 +0300 Subject: Fix updating local player status. --- src/being.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/being.cpp') 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) { -- cgit v1.2.3-60-g2f50