fix: don't play hard landing sounds on water transitions
fixes issue #57
This commit is contained in:
@@ -476,7 +476,7 @@ void moveplayer(physent *pl, int moveres, bool local, int curtime)
|
||||
}
|
||||
}
|
||||
|
||||
if(timeinair > 200 && !pl->timeinair)
|
||||
if(timeinair > 200 && !pl->timeinair && pl->inwater == water)
|
||||
{
|
||||
int sound = timeinair > 800 ? S_HARDLAND : S_SOFTLAND;
|
||||
if(pl->state!=CS_DEAD)
|
||||
|
||||
Reference in New Issue
Block a user