From 69f6b01ad560ecdfa5d03c35764f527a97cd97a9 Mon Sep 17 00:00:00 2001 From: "M. Kristall" Date: Wed, 13 Jun 2007 00:24:08 +0000 Subject: oops, fix an issue with my last commit that could crash a server --- src/game/g_cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c index 0cae9785..43056db4 100644 --- a/src/game/g_cmds.c +++ b/src/game/g_cmds.c @@ -1760,7 +1760,7 @@ void Cmd_Destroy_f( gentity_t *ent ) vec3_t forward, end; trace_t tr; gentity_t *traceEnt; - char *cmd; + char cmd[ 12 ]; qboolean deconstruct = qtrue; if( ent->client->pers.denyBuild ) -- cgit