Merge commit 'fb9231a38d' into scripting
Conflicts: src/info.cpp src/thingdef/thingdef_expression.cpp wadsrc/static/actors/constants.txt (Scripting branch update part 2)
This commit is contained in:
commit
d6e3fc0567
76 changed files with 562 additions and 312 deletions
|
|
@ -443,7 +443,6 @@ void FDecalLib::ParseDecal (FScanner &sc)
|
|||
FString decalName;
|
||||
WORD decalNum;
|
||||
FDecalTemplate newdecal;
|
||||
int code;
|
||||
FTextureID picnum;
|
||||
int lumpnum;
|
||||
|
||||
|
|
@ -467,7 +466,7 @@ void FDecalLib::ParseDecal (FScanner &sc)
|
|||
AddDecal (decalName, decalNum, newdecal);
|
||||
break;
|
||||
}
|
||||
switch ((code = sc.MustMatchString (DecalKeywords)))
|
||||
switch (sc.MustMatchString (DecalKeywords))
|
||||
{
|
||||
case DECAL_XSCALE:
|
||||
newdecal.ScaleX = ReadScale (sc);
|
||||
|
|
@ -763,8 +762,7 @@ void FDecalLib::ParseSlider (FScanner &sc)
|
|||
}
|
||||
else if (sc.Compare ("DistX"))
|
||||
{
|
||||
sc.MustGetFloat ();
|
||||
distX = (fixed_t)(sc.Float * FRACUNIT);
|
||||
sc.MustGetFloat (); // must remain to avoid breaking definitions that accidentally used DistX
|
||||
Printf ("DistX in slider decal %s is unsupported\n", sliderName.GetChars());
|
||||
}
|
||||
else if (sc.Compare ("DistY"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue