From 79d30d3c1c7a4816b8e7d93954872c7d3211dd24 Mon Sep 17 00:00:00 2001 From: MysterD Date: Sat, 19 Sep 2020 00:59:54 -0700 Subject: [PATCH] Prevent exclamation box from opening multiple times Fixes #57 --- src/game/behaviors/exclamation_box.inc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/game/behaviors/exclamation_box.inc.c b/src/game/behaviors/exclamation_box.inc.c index bf85cb119..7682a5a05 100644 --- a/src/game/behaviors/exclamation_box.inc.c +++ b/src/game/behaviors/exclamation_box.inc.c @@ -157,10 +157,12 @@ void exclamation_box_act_4(void) { } void exclamation_box_act_5(void) { + o->oExclamationBoxForce = FALSE; if (o->oTimer > 300) o->oAction = 2; } void exclamation_box_act_6(void) { + o->oExclamationBoxForce = FALSE; if (o->oTimer > 1000) obj_mark_for_deletion(o); }