Prevent exclamation box from opening multiple times

Fixes #57
This commit is contained in:
MysterD 2020-09-19 00:59:54 -07:00
parent 4a7b9736b4
commit 79d30d3c1c
1 changed files with 2 additions and 0 deletions

View File

@ -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);
}