- last fix was incomplete.

SVN r2156 (trunk)
This commit is contained in:
Christoph Oelckers 2010-02-12 23:18:41 +00:00
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 ("8", "use ArtiTeleport");
SetValueForKey ("7", "use ArtiTeleportOther");
SetValueForKey ("6", "use ArtiEgg");
SetValueForKey ("5", "use ArtiInvulnerability");
SetValueForKey ("6", "use ArtiPork");
SetValueForKey ("5", "use ArtiInvulnerability2");
}
}
if (last < 204)
@ -330,6 +330,15 @@ void FGameConfigFile::DoGlobalSetup ()
dim->ResetToDefault ();
}
}
if (last < 210)
{
if (SetSection ("Hexen.Bindings"))
{
// These 2 were misnamed in earlier versions
SetValueForKey ("6", "use ArtiPork");
SetValueForKey ("5", "use ArtiInvulnerability2");
}
}
}
}
}