mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
- Fixed: Item respawning did not redo floorz/ceilingz for 3D floors after positioning the item.
SVN r3509 (trunk)
This commit is contained in:
parent
1f6c6aafd9
commit
f312926e9f
2 changed files with 2 additions and 1 deletions
|
@ -377,6 +377,8 @@ DEFINE_ACTION_FUNCTION(AActor, A_RestoreSpecialPosition)
|
|||
self->z += FloatBobOffsets[(self->FloatBobPhase + level.maptime) & 63];
|
||||
}
|
||||
}
|
||||
// Redo floor/ceiling check, now with 3D floors
|
||||
P_FindFloorCeiling(self);
|
||||
}
|
||||
|
||||
int AInventory::StaticLastMessageTic;
|
||||
|
|
|
@ -2482,7 +2482,6 @@ void P_NightmareRespawn (AActor *mobj)
|
|||
|
||||
z = mo->z;
|
||||
|
||||
|
||||
// inherit attributes from deceased one
|
||||
mo->SpawnPoint[0] = mobj->SpawnPoint[0];
|
||||
mo->SpawnPoint[1] = mobj->SpawnPoint[1];
|
||||
|
|
Loading…
Reference in a new issue