- Fixed: Item respawning did not redo floorz/ceilingz for 3D floors after positioning the item.

SVN r3509 (trunk)
This commit is contained in:
Randy Heit 2012-04-03 03:35:20 +00:00
parent 1f6c6aafd9
commit f312926e9f
2 changed files with 2 additions and 1 deletions

View file

@ -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;

View file

@ -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];