summaryrefslogtreecommitdiff
path: root/src/graphic/graphic.cpp
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2005-02-27 14:20:56 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2005-02-27 14:20:56 +0000
commit0e4cdd67c066154905d2df423bf47172e748415a (patch)
tree3f14ab94715dff61e0a74d595efa5a429645fa13 /src/graphic/graphic.cpp
parent91408f81bc8539250ad98f1d1ec8922d6d7a7942 (diff)
downloadmana-client-0e4cdd67c066154905d2df423bf47172e748415a.tar.gz
mana-client-0e4cdd67c066154905d2df423bf47172e748415a.tar.bz2
mana-client-0e4cdd67c066154905d2df423bf47172e748415a.tar.xz
mana-client-0e4cdd67c066154905d2df423bf47172e748415a.zip
Small fix to draw monsters correctly according to the new monsterset
Diffstat (limited to 'src/graphic/graphic.cpp')
-rw-r--r--src/graphic/graphic.cpp4
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);
}