summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
authorPhilipp Sehmisch <crush@themanaworld.org>2009-12-16 18:49:09 +0100
committerPhilipp Sehmisch <crush@themanaworld.org>2009-12-16 20:09:13 +0100
commitf862b7ecb1fc9c410a693eac0accf5081830ab5e (patch)
tree660f1c07d9260349edf83738825408a598097b4d /src/localplayer.cpp
parent6b7833deee20e3abb5856d64d7f359d754fea4ca (diff)
downloadmana-client-f862b7ecb1fc9c410a693eac0accf5081830ab5e.tar.gz
mana-client-f862b7ecb1fc9c410a693eac0accf5081830ab5e.tar.bz2
mana-client-f862b7ecb1fc9c410a693eac0accf5081830ab5e.tar.xz
mana-client-f862b7ecb1fc9c410a693eac0accf5081830ab5e.zip
Stored the cached config value which says if non-crucial particle effects are enabled or not in a static member of class Particle instead of an instanced member of Being.
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index d670b3b6..260a5542 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -887,6 +887,9 @@ void LocalPlayer::setExperience(int skill, int current, int next)
{
addMessageToQueue(strprintf("%d %s xp", diff, name.c_str()));
}
+
+ if (statusWindow)
+ statusWindow->update(skill);
}
std::pair<int, int> LocalPlayer::getExperience(int skill)