diff options
author | M. Kristall <mkpdev@gmail.com> | 2007-06-13 00:24:08 +0000 |
---|---|---|
committer | M. Kristall <mkpdev@gmail.com> | 2007-06-13 00:24:08 +0000 |
commit | 69f6b01ad560ecdfa5d03c35764f527a97cd97a9 (patch) | |
tree | 87b23866641de4f92f6c140170e542111324f15f /src | |
parent | e34552f8e77838353eba0630b34dfec8f1b730b8 (diff) |
oops, fix an issue with my last commit that could crash a server
Diffstat (limited to 'src')
-rw-r--r-- | src/game/g_cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 ) |