- SW: added persistent copy of oz.

The door movement code uses oz for its position checks so we need a persistent version of it that survives uncontrolled changes from the engine side.
This commit is contained in:
Christoph Oelckers 2021-02-28 12:35:34 +01:00
parent d31fe01b6d
commit fa8ca81460
8 changed files with 33 additions and 29 deletions

View file

@ -6865,6 +6865,7 @@ MoveSkipSavePos(void)
continue;
sp->backuppos();
u->oz = sp->oz;
}
}
}
@ -6887,6 +6888,7 @@ MoveSkipSavePos(void)
if (sp == NULL || u == NULL)
continue;
sp->backuppos();
u->oz = sp->oz;
}
}
}