diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/monster.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/monster.cpp b/src/monster.cpp index 2522a3e1..fe78c878 100644 --- a/src/monster.cpp +++ b/src/monster.cpp @@ -36,7 +36,7 @@ Monster::Monster(Uint16 id, Uint16 job, Map *map): Being(id, job, map) { mSprites[BASE_SPRITE] = new AnimatedSprite( - "graphics/sprites/" + MonsterDB::get(job - 1002).getSprite()); + "graphics/sprites/" + getInfo().getSprite()); } Being::Type @@ -102,5 +102,5 @@ Monster::getTargetCursorSize() const const MonsterInfo& Monster::getInfo() const { - return MonsterDB::get(mJob - 1002); + return MonsterDB::get(mJob); } |