{
float r = MapInfo_Get_ByName_NoFallbacks(pFilename, pAllowGenerate, pGametypeToSet);
-#ifdef SVQC
- if(autocvar_g_tdm_on_dm_maps)
+ if(cvar("g_tdm_on_dm_maps"))
{
// if this is set, all DM maps support TDM too
if not(MapInfo_Map_supportedGametypes & MAPINFO_TYPE_TEAM_DEATHMATCH)
if(MapInfo_Map_supportedGametypes & MAPINFO_TYPE_DEATHMATCH)
_MapInfo_Map_ApplyGametypeEx ("", pGametypeToSet, MAPINFO_TYPE_TEAM_DEATHMATCH);
}
-#endif
if(pGametypeToSet)
{
float autocvar_g_sandbox_object_scale_max;
float autocvar_g_sandbox_object_material_velocity_min;
float autocvar_g_sandbox_object_material_velocity_factor;
-float autocvar_g_tdm_on_dm_maps;