diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2005-02-27 14:20:56 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2005-02-27 14:20:56 +0000 |
commit | 0e4cdd67c066154905d2df423bf47172e748415a (patch) | |
tree | 3f14ab94715dff61e0a74d595efa5a429645fa13 /src/graphic | |
parent | 91408f81bc8539250ad98f1d1ec8922d6d7a7942 (diff) | |
download | mana-0e4cdd67c066154905d2df423bf47172e748415a.tar.gz mana-0e4cdd67c066154905d2df423bf47172e748415a.tar.bz2 mana-0e4cdd67c066154905d2df423bf47172e748415a.tar.xz mana-0e4cdd67c066154905d2df423bf47172e748415a.zip |
Small fix to draw monsters correctly according to the new monsterset
Diffstat (limited to 'src/graphic')
-rw-r--r-- | src/graphic/graphic.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graphic/graphic.cpp b/src/graphic/graphic.cpp index 39938dcb..9ded7f3e 100644 --- a/src/graphic/graphic.cpp +++ b/src/graphic/graphic.cpp @@ -467,11 +467,11 @@ void Engine::draw() int mf = being->frame + being->action; if (being->action == MONSTER_DEAD) { - monsterset->spriteset[sprnum + 8 * MONSTER_DEAD]->draw(screen, + monsterset->spriteset[sprnum + 12 * MONSTER_DEAD]->draw(screen, being->text_x + 30, being->text_y + 40); } else { - monsterset->spriteset[sprnum + 8 * mf]->draw(screen, + monsterset->spriteset[sprnum + 12 * mf]->draw(screen, being->text_x + 30, being->text_y + 40); } |