From f862b7ecb1fc9c410a693eac0accf5081830ab5e Mon Sep 17 00:00:00 2001 From: Philipp Sehmisch Date: Wed, 16 Dec 2009 18:49:09 +0100 Subject: 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. --- src/localplayer.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/localplayer.cpp') 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 LocalPlayer::getExperience(int skill) -- cgit v1.2.3-70-g09d2