Fixed: ZScript: scale property should be expanded into xscale and yscale; Fixed: if actor's Spawn state starts with TNT1, first non-TNT1 frame will be used

This commit is contained in:
ZZYZX 2017-01-18 08:35:26 +02:00
parent 87fdd67fd6
commit 55b24eef39
6 changed files with 47 additions and 10 deletions

View file

@ -82,7 +82,7 @@ namespace CodeImp.DoomBuilder.ZDoom
if (token.Type == ZScriptTokenType.CloseCurly)
{
stream.Position--;
return; // done
break; // done
}
else if (token.Type == ZScriptTokenType.Identifier)
{
@ -299,6 +299,8 @@ namespace CodeImp.DoomBuilder.ZDoom
} // if identifier
} // frame parsing loop (inner)
} // state parsing loop (outer)
TrimLeft();
}
}
}