From f4edcfe49d6be5298b3edab1ff4b55b01bfce7a8 Mon Sep 17 00:00:00 2001 From: HailSanta Date: Thu, 25 Apr 2024 19:44:37 -0400 Subject: [PATCH] remove tif extension hack --- src/model.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/model.c b/src/model.c index 058084a68..2ef561729 100644 --- a/src/model.c +++ b/src/model.c @@ -2149,14 +2149,6 @@ void load_texture_by_name(ModelNodeProperty* propertyName, s32 romOffset, s32 si break; } - // try appending "tif" - this is a common issue with textures ported from Star Rod mods - char tifName[32]; - strcpy(tifName, textureName); - strcat(tifName, "tif"); - if (strcmp(tifName, header->name) == 0) { - break; - } - textureIdx++; mainSize = rasterSize + paletteSize + sizeof(*header); romOffset += mainSize;