if(MapInfo_Map_supportedGametypes & MAPINFO_TYPE_RACE)
if(!spawnplaces)
{
- MapInfo_Map_supportedGametypes &~= MAPINFO_TYPE_RACE;
+ MapInfo_Map_supportedGametypes &= ~MAPINFO_TYPE_RACE;
MapInfo_Map_supportedGametypes |= MAPINFO_TYPE_CTS;
}
for(e = MapInfo_Type_first; e; e = e.enemy)
if(t == e.items)
return e.message;
+ /* xgettext:no-c-format */
return _("@!#%'n Tuba Throwing");
}
else
fputs(fh, "// uncomment this if you added turrets: has turrets\n");
if(MapInfo_Map_supportedFeatures & MAPINFO_FEATURE_VEHICLES)
- fputs(fh, "has weapons\n");
+ fputs(fh, "has vehicles\n");
else
fputs(fh, "// uncomment this if you added vehicles: has vehicles\n");
if(MapInfo_Map_flags & MAPINFO_FLAG_FRUSTRATING)
{
MapInfo_Map_flags |= MAPINFO_FLAG_FRUSTRATING;
}
+ else if(t == "noautomaplist")
+ {
+ MapInfo_Map_flags |= MAPINFO_FLAG_NOAUTOMAPLIST;
+ }
else if(t == "type")
{
t = car(s); s = cdr(s);
}
else if(t == "fog")
{
- if not(cvar_value_issafe(t))
+ if not(cvar_value_issafe(s))
print("Map ", pFilename, " contains a potentially harmful fog setting, ignored\n");
else
MapInfo_Map_fog = s;
}
else if(t == "cdtrack")
{
- if(pGametypeToSet)
+ t = car(s); s = cdr(s);
+ if(pGametypeToSet) // FIXME is this check right here?
{
if not(cvar_value_issafe(t))
print("Map ", pFilename, " contains a potentially harmful cdtrack, ignored\n");
else
MapInfo_Map_clientstuff = strcat(
- MapInfo_Map_clientstuff, "cd loop \"", s, "\"\n"
+ MapInfo_Map_clientstuff, "cd loop \"", t, "\"\n"
);
}
}