mirror of
https://git.do.srb2.org/STJr/ZoneBuilder.git
synced 2024-11-10 06:41:49 +00:00
In PK3s, look for patches in the same directories as ZDoom.
This commit is contained in:
parent
33af08b1d6
commit
ba2cc9e0a9
2 changed files with 2 additions and 2 deletions
|
@ -89,7 +89,7 @@ namespace CodeImp.DoomBuilder.Data
|
|||
pname = pname.Replace(Path.AltDirectorySeparatorChar, Path.DirectorySeparatorChar);
|
||||
return (FileExists(pname) ? LoadFile(pname) : null);
|
||||
}
|
||||
else if(General.Map.Config.MixTexturesFlats)
|
||||
else if(General.Map.Config.MixTexturesFlats || General.Map.SRB2)
|
||||
{
|
||||
//mxd. Find in directories ZDoom expects them to be
|
||||
string dir = Path.GetDirectoryName(pname);
|
||||
|
|
|
@ -164,7 +164,7 @@ namespace CodeImp.DoomBuilder.Data
|
|||
return (FileExists(pname) ? LoadFile(pname) : null);
|
||||
}
|
||||
|
||||
if(General.Map.Config.MixTexturesFlats)
|
||||
if(General.Map.Config.MixTexturesFlats || General.Map.SRB2)
|
||||
{
|
||||
//mxd. Find in directories ZDoom expects them to be
|
||||
foreach(string loc in PatchLocations)
|
||||
|
|
Loading…
Reference in a new issue