- last fix was incomplete.

SVN r2156 (trunk)
This commit is contained in:
Christoph Oelckers 2010-02-12 23:18:41 +00:00
parent 33460a315a
commit 1df19e6375
2 changed files with 12 additions and 3 deletions

View file

@ -271,8 +271,8 @@ void FGameConfigFile::DoGlobalSetup ()
SetValueForKey ("9", "use ArtiBlastRadius"); SetValueForKey ("9", "use ArtiBlastRadius");
SetValueForKey ("8", "use ArtiTeleport"); SetValueForKey ("8", "use ArtiTeleport");
SetValueForKey ("7", "use ArtiTeleportOther"); SetValueForKey ("7", "use ArtiTeleportOther");
SetValueForKey ("6", "use ArtiEgg"); SetValueForKey ("6", "use ArtiPork");
SetValueForKey ("5", "use ArtiInvulnerability"); SetValueForKey ("5", "use ArtiInvulnerability2");
} }
} }
if (last < 204) if (last < 204)
@ -330,6 +330,15 @@ void FGameConfigFile::DoGlobalSetup ()
dim->ResetToDefault (); dim->ResetToDefault ();
} }
} }
if (last < 210)
{
if (SetSection ("Hexen.Bindings"))
{
// These 2 were misnamed in earlier versions
SetValueForKey ("6", "use ArtiPork");
SetValueForKey ("5", "use ArtiInvulnerability2");
}
}
} }
} }
} }

View file

@ -59,7 +59,7 @@
// Version stored in the ini's [LastRun] section. // Version stored in the ini's [LastRun] section.
// Bump it if you made some configuration change that you want to // Bump it if you made some configuration change that you want to
// be able to migrate in FGameConfigFile::DoGlobalSetup(). // be able to migrate in FGameConfigFile::DoGlobalSetup().
#define LASTRUNVERSION "209" #define LASTRUNVERSION "210"
// Protocol version used in demos. // Protocol version used in demos.
// Bump it if you change existing DEM_ commands or add new ones. // Bump it if you change existing DEM_ commands or add new ones.