summaryrefslogtreecommitdiff
path: root/src/game/g_spawn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_spawn.c')
-rw-r--r--src/game/g_spawn.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/game/g_spawn.c b/src/game/g_spawn.c
index 0bdb366a..1ebc04d0 100644
--- a/src/game/g_spawn.c
+++ b/src/game/g_spawn.c
@@ -612,14 +612,14 @@ void SP_worldspawn( void )
if( G_SpawnString( "alienMaxStage", "", &s ) )
trap_Cvar_Set( "g_alienMaxStage", s );
- if( G_SpawnString( "disabledEquipment", "", &s ) )
- trap_Cvar_Set( "g_disabledEquipment", s );
+ G_SpawnString( "disabledEquipment", "", &s );
+ trap_Cvar_Set( "g_disabledEquipment", s );
- if( G_SpawnString( "disabledClasses", "", &s ) )
- trap_Cvar_Set( "g_disabledClasses", s );
+ G_SpawnString( "disabledClasses", "", &s );
+ trap_Cvar_Set( "g_disabledClasses", s );
- if( G_SpawnString( "disabledBuildables", "", &s ) )
- trap_Cvar_Set( "g_disabledBuildables", s );
+ G_SpawnString( "disabledBuildables", "", &s );
+ trap_Cvar_Set( "g_disabledBuildables", s );
g_entities[ ENTITYNUM_WORLD ].s.number = ENTITYNUM_WORLD;
g_entities[ ENTITYNUM_WORLD ].classname = "worldspawn";