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:
Spoike 2007-08-03 14:40:09 +00:00
parent a0b26fe44a
commit 7f6bdae56f

View file

@ -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