oops
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@307 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
d1f57ab175
commit
85bcbb1b20
1 changed files with 2 additions and 2 deletions
|
@ -1387,7 +1387,7 @@ void S_Play(void)
|
||||||
else
|
else
|
||||||
Q_strcpy(name, Cmd_Argv(i));
|
Q_strcpy(name, Cmd_Argv(i));
|
||||||
sfx = S_PrecacheSound(name);
|
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++;
|
i++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1412,7 +1412,7 @@ void S_PlayVol(void)
|
||||||
Q_strcpy(name, Cmd_Argv(i));
|
Q_strcpy(name, Cmd_Argv(i));
|
||||||
sfx = S_PrecacheSound(name);
|
sfx = S_PrecacheSound(name);
|
||||||
vol = Q_atof(Cmd_Argv(i+1));
|
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;
|
i+=2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue