IOQ3 commit 2360

This commit is contained in:
Richard Allen 2012-12-12 20:01:18 +00:00
parent 3ee1476c01
commit 929844db1e

View file

@ -402,7 +402,6 @@ void S_Play_f( void ) {
int i;
int c;
sfxHandle_t h;
char name[MAX_TOKEN_CHARS];
if( !si.RegisterSound || !si.StartLocalSound ) {
return;
@ -416,8 +415,7 @@ void S_Play_f( void ) {
}
for( i = 1; i < c; i++ ) {
Q_strncpyz( name, Cmd_Argv(i), sizeof(name) );
h = si.RegisterSound( name, qfalse );
h = si.RegisterSound( Cmd_Argv(i), qfalse );
if( h ) {
si.StartLocalSound( h, CHAN_LOCAL_SOUND );