diff options
| author | Archez <Archez@users.noreply.github.com> | 2024-08-14 14:58:44 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-14 14:58:44 -0400 |
| commit | 9ceb5579b823d792e8f24ef3df772dade7700a17 (patch) | |
| tree | 5be48b79e72342bc2740155cf6cde960af5cbd79 /soh/src/code/gfxprint.c | |
| parent | f4d951aab8966add4e19a4151b41ff53d746d9f6 (diff) | |
| parent | 35b4da74cb90f12463c663c611bb7c3b29604a6b (diff) | |
Merge pull request #4294 from Archez/dev-develop-rando-merge
Merge develop -> develop-rando
Diffstat (limited to 'soh/src/code/gfxprint.c')
| -rw-r--r-- | soh/src/code/gfxprint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/soh/src/code/gfxprint.c b/soh/src/code/gfxprint.c index 1717e46b3..6d8686074 100644 --- a/soh/src/code/gfxprint.c +++ b/soh/src/code/gfxprint.c @@ -141,7 +141,7 @@ static const ALIGN_ASSET(2) char rGfxPrintFontDataAlt[] = drGfxPrintFontDataAlt; // https://github.com/HarbourMasters/Shipwright/issues/2762 typedef enum {hardcoded, otrDefault, otrAlt} font_texture_t; font_texture_t GfxPrint_TextureToUse() { - if (CVarGetInteger(CVAR_ALT_ASSETS, 0) && ResourceMgr_FileExists(rGfxPrintFontDataAlt)) { + if (ResourceMgr_IsAltAssetsEnabled() && ResourceMgr_FileExists(rGfxPrintFontDataAlt)) { // If we have alt assets enabled, and we have alt prefixed font texture, use that return otrAlt; } else if (ResourceMgr_FileExists(rGfxPrintFontData)) { |
