diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-10-04 10:00:06 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-10-04 10:00:06 -0600 |
commit | dcb412dfc87c08f40d3b6841da1b60578665e328 (patch) | |
tree | 862187d8b1c5ee993c027ca8831299d0a28ea00a /src/monster.cpp | |
parent | d9c38594fcd8c653b95ac6bf8cf525ae21a13195 (diff) | |
download | mana-client-dcb412dfc87c08f40d3b6841da1b60578665e328.tar.gz mana-client-dcb412dfc87c08f40d3b6841da1b60578665e328.tar.bz2 mana-client-dcb412dfc87c08f40d3b6841da1b60578665e328.tar.xz mana-client-dcb412dfc87c08f40d3b6841da1b60578665e328.zip |
Do some refactoring of Being code
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) |