mirror of
https://git.do.srb2.org/STJr/ZoneBuilder.git
synced 2024-11-10 06:41:49 +00:00
should have skipped this
This commit is contained in:
parent
4b85392a18
commit
b9d86faf3e
1 changed files with 2 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue