From 2fc15692d371900049a5b05f96be225fb13b510d Mon Sep 17 00:00:00 2001 From: Denis Pauk Date: Tue, 15 Aug 2023 01:49:22 +0300 Subject: [PATCH] Add support of Quake 2 N64 ReRelease --- src/client/refresh/files/stb.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/client/refresh/files/stb.c b/src/client/refresh/files/stb.c index c7934df1..8715ab53 100644 --- a/src/client/refresh/files/stb.c +++ b/src/client/refresh/files/stb.c @@ -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) {