Fixed, TEXTURES parser: fixed incorrect stream rewinding when reading "Blend" patch property without a tint amount.

This commit is contained in:
MaxED 2015-02-19 13:50:17 +00:00
parent 0ea022fa4e
commit aed233d249

View file

@ -200,7 +200,7 @@ namespace CodeImp.DoomBuilder.ZDoom
{
blendStyle = TexturePathBlendStyle.Blend;
// Rewind so this structure can be read again
parser.DataStream.Seek(-token.Length - 1, SeekOrigin.Current);
parser.DataStream.Seek(-token.Length, SeekOrigin.Current);
}
break;