Fixed name conflict with mods

git-svn-id: https://svn.eduke32.com/eduke32@776 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hnt_ts 2008-06-06 17:18:07 +00:00
parent 2eab017106
commit 3f14c6aaad

View file

@ -1323,8 +1323,8 @@ static void AddSystemVars()
AddGameVar("display_mirror",(int)&display_mirror, GAMEVAR_FLAG_SYSTEM | GAMEVAR_FLAG_CHARPTR | GAMEVAR_FLAG_SYNCCHECK);
AddGameVar("randomseed",(int)&randomseed, GAMEVAR_FLAG_SYSTEM | GAMEVAR_FLAG_INTPTR);
AddGameVar("numwalls",(int)&numwalls, GAMEVAR_FLAG_SYSTEM | GAMEVAR_FLAG_INTPTR | GAMEVAR_FLAG_READONLY);
AddGameVar("numsectors",(int)&numsectors, GAMEVAR_FLAG_SYSTEM | GAMEVAR_FLAG_INTPTR | GAMEVAR_FLAG_READONLY);
AddGameVar("NUMWALLS",(int)&numwalls, GAMEVAR_FLAG_SYSTEM | GAMEVAR_FLAG_INTPTR | GAMEVAR_FLAG_READONLY);
AddGameVar("NUMSECTORS",(int)&numsectors, GAMEVAR_FLAG_SYSTEM | GAMEVAR_FLAG_INTPTR | GAMEVAR_FLAG_READONLY);
}
void InitGameVars(void)
@ -1467,6 +1467,6 @@ static void ResetPointerVars(void)
aGameVars[GetGameID("display_mirror")].lValue = (intptr_t)&display_mirror;
aGameVars[GetGameID("randomseed")].lValue = (intptr_t)&randomseed;
aGameVars[GetGameID("numwalls")].lValue = (intptr_t)&numwalls;
aGameVars[GetGameID("numsectors")].lValue = (intptr_t)&numsectors;
aGameVars[GetGameID("NUMWALLS")].lValue = (intptr_t)&numwalls;
aGameVars[GetGameID("NUMSECTORS")].lValue = (intptr_t)&numsectors;
}