Fix sound bug on shallow water

This commit is contained in:
aurhat
2015-02-07 15:01:57 +01:00
parent 67049f5e73
commit 87bb20e799
+1 -1
View File
@@ -637,7 +637,7 @@ void moveplayer(physent *pl, int moveres, bool local, int curtime)
{
if(!pl->lastsplash || lastmillis-pl->lastsplash>500)
{
audiomgr.playsound(S_SPLASH2, pl);
audiomgr.playsound(S_SPLASH2, &pl->o);
pl->lastsplash = lastmillis;
}
if(pl==player1) pl->vel.z = 0;