summaryrefslogtreecommitdiff
path: root/src/monster.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-10-04 10:00:06 -0600
committerJared Adams <jaxad0127@gmail.com>2009-10-04 10:00:06 -0600
commitdcb412dfc87c08f40d3b6841da1b60578665e328 (patch)
tree862187d8b1c5ee993c027ca8831299d0a28ea00a /src/monster.cpp
parentd9c38594fcd8c653b95ac6bf8cf525ae21a13195 (diff)
downloadmana-dcb412dfc87c08f40d3b6841da1b60578665e328.tar.gz
mana-dcb412dfc87c08f40d3b6841da1b60578665e328.tar.bz2
mana-dcb412dfc87c08f40d3b6841da1b60578665e328.tar.xz
mana-dcb412dfc87c08f40d3b6841da1b60578665e328.zip
Do some refactoring of Being code
Diffstat (limited to 'src/monster.cpp')
-rw-r--r--src/monster.cpp2
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)