summaryrefslogtreecommitdiff
path: root/src/monster.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2006-11-19 21:24:36 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2006-11-19 21:24:36 +0000
commit7ac7d0e030464f744546b4e6183a7242f640d5d3 (patch)
treef19831b29511d46e8aba45ace6017c8e6afe815b /src/monster.cpp
parentb7cfcffd7a156e19dfa9882d67426f4fa6edef57 (diff)
downloadmana-7ac7d0e030464f744546b4e6183a7242f640d5d3.tar.gz
mana-7ac7d0e030464f744546b4e6183a7242f640d5d3.tar.bz2
mana-7ac7d0e030464f744546b4e6183a7242f640d5d3.tar.xz
mana-7ac7d0e030464f744546b4e6183a7242f640d5d3.zip
Separated sprite definition from playback.
Diffstat (limited to 'src/monster.cpp')
-rw-r--r--src/monster.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/monster.cpp b/src/monster.cpp
index 8a7e2f32..ce073a04 100644
--- a/src/monster.cpp
+++ b/src/monster.cpp
@@ -32,7 +32,8 @@
Monster::Monster(Uint32 id, Uint16 job, Map *map):
Being(id, job, map)
{
- mSprites[BASE_SPRITE] = new AnimatedSprite("graphics/sprites/monster" + toString(job - 1002) + ".xml", 0);
+ mSprites[BASE_SPRITE] = new AnimatedSprite(
+ "graphics/sprites/monster" + toString(job - 1002) + ".xml", 0);
}
void