From b9d86faf3e592f3d3fd239cf3f2aed9b8e5251fb Mon Sep 17 00:00:00 2001 From: spherallic Date: Wed, 4 Jan 2023 14:20:44 +0100 Subject: [PATCH] should have skipped this --- Source/Core/Windows/MainForm.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Source/Core/Windows/MainForm.cs b/Source/Core/Windows/MainForm.cs index 0f74433..4169daf 100644 --- a/Source/Core/Windows/MainForm.cs +++ b/Source/Core/Windows/MainForm.cs @@ -4022,19 +4022,18 @@ namespace CodeImp.DoomBuilder.Windows { // Go for all setors bool updated = false; - long imgshorthash = General.Map.Data.GetShortLongFlatName(img.LongName); //mxd. Part of long name support shennanigans foreach(Sector s in General.Map.Map.Sectors) { // Update floor buffer if needed - if(s.LongFloorTexture == img.LongName || s.LongFloorTexture == imgshorthash) + if(s.LongFloorTexture == img.LongName) { s.UpdateFloorSurface(); updated = true; } // Update ceiling buffer if needed - if(s.LongCeilTexture == img.LongName || s.LongCeilTexture == imgshorthash) + if(s.LongCeilTexture == img.LongName) { s.UpdateCeilingSurface(); updated = true;