- looks like the oldz parameter in UpdateWaterLevel is not needed at all...
This commit is contained in:
parent
558e04cb99
commit
c2e7858e05
9 changed files with 24 additions and 28 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue