git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@307 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
TimeServ 2004-10-06 23:59:42 +00:00
parent d1f57ab175
commit 85bcbb1b20

View file

@ -1387,7 +1387,7 @@ void S_Play(void)
else
Q_strcpy(name, Cmd_Argv(i));
sfx = S_PrecacheSound(name);
S_StartSound(-1, -1, sfx, vec3_origin, 1.0, 1.0);
S_StartSound(cl.playernum[0]+1, -1, sfx, vec3_origin, 1.0, 1.0);
i++;
}
}
@ -1412,7 +1412,7 @@ void S_PlayVol(void)
Q_strcpy(name, Cmd_Argv(i));
sfx = S_PrecacheSound(name);
vol = Q_atof(Cmd_Argv(i+1));
S_StartSound(-1, -1, sfx, vec3_origin, vol, 1.0);
S_StartSound(cl.playernum[0]+1, -1, sfx, vec3_origin, vol, 1.0);
i+=2;
}
}