From 7f819e46b584145e2cf2ea742ced9fab0ffc233e Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sun, 26 Nov 2006 14:20:50 +0000 Subject: Made Being::mDirection protected, forcing the use of setDirection. Defaulted variant argument to 0 since this is the most common situation. Some SpriteDef refactoring, splitting up the loading into several methods, in preparation of adding support for including other sprites. --- src/monster.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/monster.cpp') diff --git a/src/monster.cpp b/src/monster.cpp index ce073a04..7fffd34e 100644 --- a/src/monster.cpp +++ b/src/monster.cpp @@ -33,7 +33,7 @@ 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); + "graphics/sprites/monster" + toString(job - 1002) + ".xml"); } void -- cgit v1.2.3-70-g09d2