mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +00:00
Revert "- blood: fix velCeil calculation"
This reverts commit d85a8b6507
.
This broke player view height on elevators.
This commit is contained in:
parent
864c0b71e0
commit
9c107049fd
1 changed files with 1 additions and 1 deletions
|
@ -967,7 +967,7 @@ void ZTranslateSector(sectortype* pSector, XSECTOR* pXSector, int a3, int a4)
|
|||
{
|
||||
int oldZ = pSector->floorz;
|
||||
pSector->setfloorz((pSector->baseFloor = pXSector->offFloorZ + MulScale(dz, GetWaveValue(a3, a4), 16)));
|
||||
pSector->velFloor += (pSector->floorz - oldZ);
|
||||
pSector->velFloor += (pSector->floorz - oldZ) << 8;
|
||||
|
||||
BloodSectIterator it(pSector);
|
||||
while (auto actor = it.Next())
|
||||
|
|
Loading…
Reference in a new issue