Don't implicitly enable a door prop when AI scripting attempts to open a disabled door
This commit is contained in:
parent
4bdb84546e
commit
bec089ea11
|
|
@ -17162,7 +17162,7 @@ void doorSetMode(struct doorobj *door, s32 newmode)
|
|||
{
|
||||
if (newmode == DOORMODE_OPENING) {
|
||||
if (door->mode == DOORMODE_IDLE || door->mode == DOORMODE_WAITING) {
|
||||
if (!door->base.prop->active) {
|
||||
if (!door->base.prop->active && (door->base.prop->flags & PROPFLAG_ENABLED)) {
|
||||
propUnpause(door->base.prop);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue