diff options
author | /dev/humancontroller <devhc@example.com> | 2017-03-09 09:43:41 +0100 |
---|---|---|
committer | /dev/humancontroller <devhc@example.com> | 2017-03-09 13:51:16 +0100 |
commit | ff4fd573a91bc027c935f32fab107eca66659141 (patch) | |
tree | 5d51aa7ffc519f6981b9c89913e3af5abfc07769 | |
parent | 338636fdc2a9fcb404630b7eb9c5735e1f35f99d (diff) |
retain the developer mode setting across map changes
-rw-r--r-- | src/game/g_maprotation.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 ); } |