Remove completely obsolete idea of saving game.type to user settings.

master
Per Inge Mathisen 2010-10-18 22:52:55 +02:00
parent 1f857b4a52
commit 00406e5154
1 changed files with 0 additions and 19 deletions

View File

@ -483,17 +483,6 @@ BOOL loadConfig(void)
setWarzoneKeyNumeric("fog", game.fog);
}
//type
if(getWarzoneKeyNumeric("type", &val))
{
game.type =(UBYTE)val;
}
else
{
game.type = CAMPAIGN;
setWarzoneKeyNumeric("type", game.type);
}
//base
if(getWarzoneKeyNumeric("base", &val))
{
@ -751,7 +740,6 @@ BOOL saveConfig(void)
setWarzoneKeyString("mapName", game.map); // map name
setWarzoneKeyNumeric("maxPlayers",game.maxPlayers); // maxPlayers
setWarzoneKeyNumeric("power", game.power); // power
setWarzoneKeyNumeric("type", game.type); // game type
setWarzoneKeyNumeric("base", game.base); // size of base
setWarzoneKeyNumeric("fog", game.fog); // fog 'o war
setWarzoneKeyNumeric("alliance", game.alliance); // allow alliances
@ -818,7 +806,6 @@ BOOL reloadMPConfig(void)
setWarzoneKeyString("mapName", game.map); // map name
setWarzoneKeyNumeric("maxPlayers",game.maxPlayers); // maxPlayers
setWarzoneKeyNumeric("power", game.power); // power
setWarzoneKeyNumeric("type", game.type); // game type
setWarzoneKeyNumeric("base", game.base); // size of base
setWarzoneKeyNumeric("fog", game.fog); // fog 'o war
setWarzoneKeyNumeric("alliance", game.alliance); // allow alliances
@ -859,12 +846,6 @@ BOOL reloadMPConfig(void)
game.fog= val;
}
//type
if(getWarzoneKeyNumeric("type", &val))
{
game.type =(UBYTE)val;
}
//base
if(getWarzoneKeyNumeric("base", &val))
{