From ff4fd573a91bc027c935f32fab107eca66659141 Mon Sep 17 00:00:00 2001 From: /dev/humancontroller Date: Thu, 9 Mar 2017 09:43:41 +0100 Subject: retain the developer mode setting across map changes --- src/game/g_maprotation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/g_maprotation.c b/src/game/g_maprotation.c index f45ee4ac..82621eb8 100644 --- a/src/game/g_maprotation.c +++ b/src/game/g_maprotation.c @@ -147,7 +147,7 @@ void G_PerformMapChange( const char *map ) char buf[ MAX_STRING_CHARS ]; G_MapConfigs( map ); level.restarted = qtrue; - Q_snprintf( buf, sizeof( buf ), "map \"%s\"\n", map ); + Q_snprintf( buf, sizeof( buf ), "%smap \"%s\"\n", ( g_cheats.integer ? "dev" : "" ), map ); trap_SendConsoleCommand( EXEC_APPEND, buf ); } -- cgit