fixed crouch sound positioning

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3692 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2008-11-20 22:25:13 +00:00
parent 141cf9fb86
commit 3a5673ab3e
+1 -1
View File
@@ -708,7 +708,7 @@ void updatecrouch(playerent *p, bool on)
const float crouchspeed = 0.6f;
p->crouching = on;
p->eyeheightvel = on ? -crouchspeed : crouchspeed;
playsoundc(on ? S_CROUCH : S_UNCROUCH);
if(p==player1) playsoundc(on ? S_CROUCH : S_UNCROUCH);
}
void crouch(bool on)