mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-06-02 09:51:47 +00:00
When "MixTexturesFlats" flag is set in a game configuration, textures defined in TEXTURE[S|x] must override "regular" flats (ZDoom behavior).
This commit is contained in:
parent
7254c62ee0
commit
cee185c757
1 changed files with 4 additions and 0 deletions
|
@ -358,6 +358,10 @@ namespace CodeImp.DoomBuilder.Data
|
||||||
flats.Add(t.Key, t.Value);
|
flats.Add(t.Key, t.Value);
|
||||||
flatnames.Add(t.Value.Name);
|
flatnames.Add(t.Value.Name);
|
||||||
}
|
}
|
||||||
|
else if (t.Value is HighResImage) //mxd. Textures defined in TEXTURE[S|x] override "regular" flats in ZDoom
|
||||||
|
{
|
||||||
|
flats[t.Key] = t.Value;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add flats to textures
|
// Add flats to textures
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue