diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2005-06-05 08:06:34 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2005-06-05 08:06:34 +0000 |
commit | aba239393ecd298e8ffd16e0b6a5d86837c594ae (patch) | |
tree | 9f3495fb4faba6105cd485a3f0b48ac19ad8afb7 /src/engine.cpp | |
parent | e8f15d7081174ab2930b132bd96264b9cef22ce8 (diff) | |
download | mana-aba239393ecd298e8ffd16e0b6a5d86837c594ae.tar.gz mana-aba239393ecd298e8ffd16e0b6a5d86837c594ae.tar.bz2 mana-aba239393ecd298e8ffd16e0b6a5d86837c594ae.tar.xz mana-aba239393ecd298e8ffd16e0b6a5d86837c594ae.zip |
- Fixes for short sword
- New NPC
- Fix for npc ids
Diffstat (limited to 'src/engine.cpp')
-rw-r--r-- | src/engine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine.cpp b/src/engine.cpp index 60b547a6..3430a230 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -351,7 +351,7 @@ void Engine::draw() guiGraphics->drawRectangle(gcn::Rectangle(sx * 32, sy * 32, 32, 32)); #endif - if ((being->job >= 100) && (being->job < 110)) { // Draw a NPC + if (being->isNpc()) { // Draw a NPC npcset->spriteset[being->job - 100]->draw(screen, sx * 32 - 8 - offset_x, sy * 32 - 52 - offset_y); |