Init new non-0 fields for non-UDMF maps.

This commit is contained in:
Gaerzi 2014-04-15 17:16:33 +02:00
commit e5578934ad
2 changed files with 3 additions and 3 deletions

View file

@ -4795,10 +4795,7 @@ AActor *P_SpawnMapThing (FMapThing *mthing, int position)
// Set various UDMF options
if (mthing->alpha != -1)
{
DPrintf("Setting alpha to %f", FIXED2FLOAT(mthing->alpha));
mobj->alpha = mthing->alpha;
}
if (mthing->RenderStyle != STYLE_Count)
mobj->RenderStyle = (ERenderStyle)mthing->RenderStyle;
if (mthing->scaleX)