diff options
Diffstat (limited to 'src/being.cpp')
-rw-r--r-- | src/being.cpp | 7 |
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 { |