Add support of Quake 2 N64 ReRelease

This commit is contained in:
Denis Pauk 2023-08-15 01:49:22 +03:00
parent 318cd69318
commit 2fc15692d3

View file

@ -611,6 +611,13 @@ GetTexImage(const char *name, findimage_t find_image)
Com_sprintf(pathname, sizeof(pathname), "textures/%s.wal", name);
image = find_image(pathname, it_wall);
/* Quake2 Re-Release Nintendo 64 */
if (!image)
{
Com_sprintf(pathname, sizeof(pathname), "textures/%s.tga", name);
image = find_image(pathname, it_wall);
}
/* Heretic 2 */
if (!image)
{