summaryrefslogtreecommitdiff
path: root/src/game/g_maprotation.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_maprotation.c')
-rw-r--r--src/game/g_maprotation.c2
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 );
}