mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-26 22:01:50 +00:00
No, really.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2230 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
618aa941b7
commit
e3e65b511c
1 changed files with 2 additions and 2 deletions
|
@ -1368,11 +1368,11 @@ void S_Play(void)
|
||||||
{
|
{
|
||||||
if (!Q_strrchr(Cmd_Argv(i), '.'))
|
if (!Q_strrchr(Cmd_Argv(i), '.'))
|
||||||
{
|
{
|
||||||
Q_strncpy(name, Cmd_Argv(i), sizeof(name)-4);
|
Q_strncpyz(name, Cmd_Argv(i), sizeof(name)-4);
|
||||||
Q_strcat(name, ".wav");
|
Q_strcat(name, ".wav");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
Q_strncpy(name, Cmd_Argv(i), sizeof(name));
|
Q_strncpyz(name, Cmd_Argv(i), sizeof(name));
|
||||||
sfx = S_PrecacheSound(name);
|
sfx = S_PrecacheSound(name);
|
||||||
S_StartSound(cl.playernum[0]+1, -1, sfx, vec3_origin, 1.0, 0.0);
|
S_StartSound(cl.playernum[0]+1, -1, sfx, vec3_origin, 1.0, 0.0);
|
||||||
// hash++;
|
// hash++;
|
||||||
|
|
Loading…
Reference in a new issue