summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2010-07-30 00:42:42 +0200
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2010-07-30 00:42:42 +0200
commit5711dc9a0c1952f2d523bc6c6106d8ef3b47a201 (patch)
tree85f3bd0fc6705c2c5f6c61f953e330c963fbfdac /src/being.cpp
parent4cd89f7fc9a3846e9d42b1d401453b8b55a2990f (diff)
downloadmana-client-5711dc9a0c1952f2d523bc6c6106d8ef3b47a201.tar.gz
mana-client-5711dc9a0c1952f2d523bc6c6106d8ef3b47a201.tar.bz2
mana-client-5711dc9a0c1952f2d523bc6c6106d8ef3b47a201.tar.xz
mana-client-5711dc9a0c1952f2d523bc6c6106d8ef3b47a201.zip
Fixed two more forgotten hard-coded references.
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/being.cpp b/src/being.cpp
index 1061cf36..22fb9610 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -74,7 +74,6 @@
#include <cmath>
#define HAIR_FILE "hair.xml"
-#define PARTICLE_LOCATION "graphics/particles/"
static const int DEFAULT_BEING_WIDTH = 32;
static const int DEFAULT_BEING_HEIGHT = 32;
@@ -815,9 +814,9 @@ void Being::logic()
if (!particleEffect.empty() &&
findSameSubstring(particleEffect,
- PARTICLE_LOCATION).empty())
- particleEffect = PARTICLE_LOCATION +
- particleEffect;
+ paths.getStringValue("particles")).empty())
+ particleEffect = paths.getStringValue("particles")
+ + particleEffect;
}
else
{