no movement sounds in water

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1840 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2008-05-03 15:15:26 +00:00
parent baaa93bf5b
commit 7e7fe5a334
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -335,7 +335,7 @@ void moveplayer(physent *pl, int moveres, bool local, int curtime)
pl->jumpnext = false;
pl->vel.z = 2.0f; //1.7f; // physics impulse upwards
if(water) { pl->vel.x /= 8; pl->vel.y /= 8; } // dampen velocity change even harder, gives correct water feel
if(local) playsoundc(S_JUMP);
if(local && !water) playsoundc(S_JUMP);
else if(pl->type==ENT_BOT) playsound(S_JUMP, pl); // Added by Rick
}
pl->timeinair = 0;