fix monsters rendering backwards? fix #785

This commit is contained in:
2025-08-09 13:52:52 -05:00
parent edf7c28163
commit 7ff53365e0

View File

@@ -192,7 +192,7 @@ void draw_monsters() {
Draw_Some_Item(*src_gw, source_rect, terrain_screen_gworld(), store_loc, 1, 0); Draw_Some_Item(*src_gw, source_rect, terrain_screen_gworld(), store_loc, 1, 0);
} else { } else {
pic_num_t this_monst = monst.picture_num; pic_num_t this_monst = monst.picture_num;
int pic_mode = (monst.direction) < 4 ? 0 : 1; int pic_mode = (monst.direction) >= 4 ? 0 : 1;
pic_mode += (combat_posing_monster == i + 100) ? 10 : 0; pic_mode += (combat_posing_monster == i + 100) ? 10 : 0;
source_rect = get_monster_template_rect(this_monst, pic_mode, k); source_rect = get_monster_template_rect(this_monst, pic_mode, k);
int which_sheet = (m_pic_index[this_monst].i+k) / 20; int which_sheet = (m_pic_index[this_monst].i+k) / 20;