Fixed one of my #warnings
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2564 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
a0b26fe44a
commit
7f6bdae56f
1 changed files with 7 additions and 2 deletions
|
@ -997,8 +997,13 @@ void Cmd_MuteStream(cmdctxt_t *ctx)
|
|||
{
|
||||
char *val;
|
||||
val = Cmd_Argv(ctx, 1);
|
||||
ctx->qtv->silentstream = atoi(val);
|
||||
#warning Implement me
|
||||
if (*val)
|
||||
{
|
||||
ctx->qtv->silentstream = atoi(val);
|
||||
Cmd_Printf(ctx, "Stream is now %smuted", ctx->qtv->silentstream?"un":"");
|
||||
}
|
||||
else
|
||||
Cmd_Printf(ctx, "Stream is currently %smuted", ctx->qtv->silentstream?"un":"");
|
||||
}
|
||||
|
||||
#ifdef VIEWER
|
||||
|
|
Loading…
Reference in a new issue