From 4644c1e65a337db1a94208162465908e1e56a0d6 Mon Sep 17 00:00:00 2001 From: Christopher Schwarz Date: Wed, 21 Oct 2009 23:16:46 +0000 Subject: * Don't show locations in teamchats during intermission * Fix /destroy (devmap only) to work on marked buildables without having to use it twice --- src/game/g_cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game') diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c index 4ad07392..e67fcced 100644 --- a/src/game/g_cmds.c +++ b/src/game/g_cmds.c @@ -1682,7 +1682,7 @@ void Cmd_Destroy_f( gentity_t *ent ) } // Cancel deconstruction - if( g_markDeconstruct.integer && traceEnt->deconstruct ) + if( deconstruct && g_markDeconstruct.integer && traceEnt->deconstruct ) { traceEnt->deconstruct = qfalse; return; -- cgit