diff options
Diffstat (limited to 'src/being.cpp')
-rw-r--r-- | src/being.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/being.cpp b/src/being.cpp index d9180bc9..69c233f2 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -27,6 +27,7 @@ #include "configuration.h" #include "effectmanager.h" #include "event.h" +#include "game.h" #include "graphics.h" #include "guild.h" #include "localplayer.h" @@ -67,8 +68,6 @@ #define HAIR_FILE "hair.xml" -static const int DEFAULT_BEING_WIDTH = 32; -static const int DEFAULT_BEING_HEIGHT = 32; int Being::mNumberOfHairstyles = 1; Being::Being(int id, Type type, int subtype, Map *map): @@ -592,7 +591,8 @@ void Being::fireMissile(Being *victim, const std::string &particle) if (missile) { Particle *target = particleEngine->createChild(); - target->moveBy(Vector(0.0f, 0.0f, 32.0f)); + target->moveBy(Vector(0.0f, 0.0f, + Game::instance()->getCurrentTileWidth())); target->setLifetime(1000); victim->controlParticle(target); |