- Fixed: 'Painchance' in DECORATE failed when reading custom damage type names.

- Added Karate Chris's patch for menu opening console commands.


SVN r684 (trunk)
This commit is contained in:
Christoph Oelckers 2008-01-09 09:01:30 +00:00
commit 3bd53dafbe
3 changed files with 19 additions and 0 deletions

View file

@ -868,6 +868,7 @@ static void ActorPainChance (AActor *defaults, Baggage &bag)
if (!SC_CheckNumber())
{
FName painType;
SC_MustGetString();
if (SC_Compare("Normal")) painType = NAME_None;
else painType=sc_String;
SC_MustGetToken(',');