- 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

@ -1225,10 +1225,10 @@ int APlayerPawn::GetMaxHealth() const
//
//===========================================================================
bool APlayerPawn::UpdateWaterLevel (fixed_t oldz, bool splash)
bool APlayerPawn::UpdateWaterLevel (bool splash)
{
int oldlevel = waterlevel;
bool retval = Super::UpdateWaterLevel (oldz, splash);
bool retval = Super::UpdateWaterLevel (splash);
if (player != NULL)
{
if (oldlevel < 3 && waterlevel == 3)