mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-31 01:11:15 +00:00
- 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:
parent
d31fe01b6d
commit
fa8ca81460
8 changed files with 33 additions and 29 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue