mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 06:53:40 +00:00
- fixed hires texture lookup in Doomsday style .pk3
IWAD wasn't detected properly, and wrong texture can be picked as a hires replacement (e.g., SLADRIP1 from Ultimate Doom instead of TNT) https://forum.zdoom.org/viewtopic.php?t=64915
This commit is contained in:
parent
5b32c5b150
commit
b8a188705e
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ static void SetDoom2Wad()
|
|||
{
|
||||
if (Doom2Wad == -1)
|
||||
{
|
||||
FString iwad = Wads.GetWadFullName(1);
|
||||
FString iwad = Wads.GetWadFullName(Wads.GetIwadNum());
|
||||
iwad.ToLower();
|
||||
if (iwad.IndexOf("plutonia") >= 0) Doom2Wad = 1;
|
||||
else if (iwad.IndexOf("tnt") >= 0) Doom2Wad = 2;
|
||||
|
|
Loading…
Reference in a new issue