diff options
Diffstat (limited to 'src/npc.cpp')
-rw-r--r-- | src/npc.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/npc.cpp b/src/npc.cpp index 6fa5ac37..d2e3f93f 100644 --- a/src/npc.cpp +++ b/src/npc.cpp @@ -36,7 +36,8 @@ NPC *current_npc = 0; NPC::NPC(Uint32 id, Uint16 job, Map *map, Network *network): Being(id, job, map), mNetwork(network) { - mSprites[BASE_SPRITE] = new AnimatedSprite("graphics/sprites/npc.xml", job-100); + mSprites[BASE_SPRITE] = new AnimatedSprite("graphics/sprites/npc.xml", + job - 100); } Being::Type |