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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user