mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-28 12:30:46 +00:00
- fixed texture lookup for hightile lookup.
Not all commands had the proper flags to also look in the root folder.
This commit is contained in:
parent
5af06923d8
commit
e3737d3330
1 changed files with 2 additions and 2 deletions
|
@ -255,7 +255,7 @@ int tileSetHightileReplacement(int picnum, int palnum, const char* filename, flo
|
||||||
}
|
}
|
||||||
HightileReplacement replace = {};
|
HightileReplacement replace = {};
|
||||||
|
|
||||||
FTextureID texid = TexMan.CheckForTexture(filename, ETextureType::Any);
|
FTextureID texid = TexMan.CheckForTexture(filename, ETextureType::Any, FTextureManager::TEXMAN_ForceLookup);
|
||||||
if (!texid.isValid())
|
if (!texid.isValid())
|
||||||
{
|
{
|
||||||
Printf("%s: Replacement for tile %d does not exist or is invalid\n", filename, picnum);
|
Printf("%s: Replacement for tile %d does not exist or is invalid\n", filename, picnum);
|
||||||
|
@ -296,7 +296,7 @@ int tileSetSkybox(int picnum, int palnum, FString* facenames)
|
||||||
FGameTexture *faces[6];
|
FGameTexture *faces[6];
|
||||||
for (int i = 0; i < 6; i++)
|
for (int i = 0; i < 6; i++)
|
||||||
{
|
{
|
||||||
FTextureID texid = TexMan.CheckForTexture(facenames[i], ETextureType::Any);
|
FTextureID texid = TexMan.CheckForTexture(facenames[i], ETextureType::Any, FTextureManager::TEXMAN_ForceLookup);
|
||||||
if (!texid.isValid())
|
if (!texid.isValid())
|
||||||
{
|
{
|
||||||
Printf("%s: Skybox image for tile %d does not exist or is invalid\n", facenames[i].GetChars(), picnum);
|
Printf("%s: Skybox image for tile %d does not exist or is invalid\n", facenames[i].GetChars(), picnum);
|
||||||
|
|
Loading…
Reference in a new issue