diff options
Diffstat (limited to 'src/monster.cpp')
-rw-r--r-- | src/monster.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/monster.cpp b/src/monster.cpp index 9683e5df..cc2285fe 100644 --- a/src/monster.cpp +++ b/src/monster.cpp @@ -45,14 +45,12 @@ Monster::Monster(int id, int job, Map *map): { std::string file = "graphics/sprites/" + *i; mSprites.push_back(AnimatedSprite::load(file)); - setNumberOfLayers(getNumberOfLayers() + 1); } // Ensure that something is shown if (mSprites.size() == 0) { mSprites.push_back(AnimatedSprite::load("graphics/sprites/error.xml")); - setNumberOfLayers(getNumberOfLayers() + 1); } if (mParticleEffects) |