-1 is supposed to be no face pic (#645)

Fix #74
This commit is contained in:
2025-02-20 19:02:56 -06:00
committed by GitHub
parent 85096de3b7
commit 9bfe8e3f12

View File

@@ -888,7 +888,7 @@ static void place_talk_face() {
face_rect.offset(talk_area_rect.topLeft());
mainPtr.setActive();
short face_to_draw = univ.scenario.scen_monsters[store_monst_type].default_facial_pic;
if(store_talk_face_pic >= 0)
if(store_talk_face_pic >= -1)
face_to_draw = store_talk_face_pic;
if(store_talk_face_pic >= 1000) {
cPict::drawAt(mainPtr, face_rect, store_talk_face_pic, PIC_CUSTOM_TALK, false);