mapMins = '0 0 0';
mapMaxs = '0 0 0';
- for(0;;)
+ for (;;)
{
if (!((s = fgets(fh))))
break;
print("Map ", pFilename, " references not existing config file ", s, "\n");
else
{
- for(0;;)
+ for (;;)
{
if (!((s = fgets(fh))))
break;
{
n = tokenize_console(cvar_string("g_cdtracks_remaplist"));
s = strcat(" ", cvar_string("g_cdtracks_dontusebydefault"), " ");
- for(0;;)
+ for (;;)
{
i = floor(random() * n);
if(strstrofs(s, strcat(" ", argv(i), " "), 0) < 0)
}
_MapInfo_Map_Reset();
- for(0;;)
+ for (;;)
{
if (!((s = fgets(fh))))
break;
return r;
}
-void MapInfo_SwitchGameType(float t)
+void MapInfo_SwitchGameType(int t)
{
- entity e;
- for(e = MapInfo_Type_first; e; e = e.enemy)
+ for (entity e = MapInfo_Type_first; e; e = e.enemy) {
cvar_set(e.netname, (t == e.items) ? "1" : "0");
+ }
}
void MapInfo_LoadMap(string s, float reinit)