- looks like the oldz parameter in UpdateWaterLevel is not needed at all...

This commit is contained in:
Christoph Oelckers 2016-03-26 01:13:36 +01:00
commit c2e7858e05
9 changed files with 24 additions and 28 deletions

View file

@ -6098,7 +6098,7 @@ bool P_ChangeSector(sector_t *sector, int crunch, int amt, int floorOrCeil, bool
{
n->visited = true; // mark thing as processed
n->m_thing->UpdateWaterLevel(n->m_thing->_f_Z(), false);
n->m_thing->UpdateWaterLevel(false);
P_CheckFakeFloorTriggers(n->m_thing, n->m_thing->_f_Z() - amt);
}
}