Skip to content

Commit

Permalink
No log warnings for missing optional texture files
Browse files Browse the repository at this point in the history
  • Loading branch information
Loobinex committed Feb 2, 2025
1 parent f4dee85 commit 72f7628
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/engine_textures.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ static TbBool load_one_file(unsigned long tmapidx,char letter, void *dst, LevelN

if (!LbFileExists(fname))
{
WARNMSG("Texture file \"%s\" doesn't exist.",fname);
SYNCDBG(10, "Texture file \"%s\" doesn't exist.",fname);
return false;
}

Expand All @@ -140,6 +140,7 @@ static TbBool load_one_file(unsigned long tmapidx,char letter, void *dst, LevelN
WARNMSG("Texture file \"%s\" can't be loaded or is too small.",fname);
return false;
}
SYNCDBG(6, "Texture file \"%s\" succesfully loaded.", fname);
return true;
}

Expand Down

0 comments on commit 72f7628

Please sign in to comment.