diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2004-12-25 16:46:27 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2004-12-25 16:46:27 +0000 |
commit | 587275709eb11a036ed474bf6a61f1fd34fc069f (patch) | |
tree | 9c1f073168b1d38e87afdd11427e924340a2d901 /src/graphic/graphic.cpp | |
parent | 8e9952956dddf37edefeb69c009def3f0dff23eb (diff) | |
download | mana-587275709eb11a036ed474bf6a61f1fd34fc069f.tar.gz mana-587275709eb11a036ed474bf6a61f1fd34fc069f.tar.bz2 mana-587275709eb11a036ed474bf6a61f1fd34fc069f.tar.xz mana-587275709eb11a036ed474bf6a61f1fd34fc069f.zip |
Fixed error causing monster death bitmaps not to show up.
Diffstat (limited to 'src/graphic/graphic.cpp')
-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 c391f75b..46413d2b 100644 --- a/src/graphic/graphic.cpp +++ b/src/graphic/graphic.cpp @@ -398,8 +398,8 @@ void do_graphic(void) { int mf = node->frame + node->action; if (node->action == MONSTER_DEAD) { - new_monsterset->spriteset[sprnum * MONSTER_DEAD]->draw(vbuffer, - node->text_x, node->text_y); + new_monsterset->spriteset[sprnum + 8 * MONSTER_DEAD]->draw( + vbuffer, node->text_x, node->text_y); } else { new_monsterset->spriteset[sprnum + 8 * mf]->draw(vbuffer, |