From aed233d24961ba64b5a72bd9fc6a43cf9a55c9f3 Mon Sep 17 00:00:00 2001 From: MaxED Date: Thu, 19 Feb 2015 13:50:17 +0000 Subject: [PATCH] Fixed, TEXTURES parser: fixed incorrect stream rewinding when reading "Blend" patch property without a tint amount. --- Source/Core/ZDoom/PatchStructure.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/ZDoom/PatchStructure.cs b/Source/Core/ZDoom/PatchStructure.cs index 02df607c..fac249b7 100644 --- a/Source/Core/ZDoom/PatchStructure.cs +++ b/Source/Core/ZDoom/PatchStructure.cs @@ -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;