mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-23 04:12:12 +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);
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue