}
game.restart_level = FALSE;
+ game.request_open = FALSE;
game.request_active = FALSE;
game.envelope_active = FALSE;
game.any_door_active = FALSE;
if (((old_door_state & DOOR_OPEN_1) && !(req_state & REQ_STAY_CLOSED)) ||
(req_state & REQ_REOPEN))
OpenDoor(DOOR_OPEN_1 | DOOR_COPY_BACK);
+
+ game.request_open = FALSE;
+ }
+ else
+ {
+ game.request_open = TRUE;
}
return result;
door_state &= ~DOOR_NO_COPY_BACK;
}
+ if (door_state & DOOR_CLOSE_1)
+ game.request_open = FALSE;
+
return MoveDoor(door_state);
}