mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-20 05:23:04 +01:00
fix mistake, wrong enum
This commit is contained in:
@@ -597,7 +597,7 @@ int string_get_height_raw(char *buffer)
|
||||
uint16 fontBase = gCurrentFontSpriteBase;
|
||||
|
||||
int height = 0;
|
||||
if (fontBase <= FONT_SIZE_MEDIUM)
|
||||
if (fontBase <= FONT_SPRITE_BASE_MEDIUM)
|
||||
height += 10;
|
||||
else if (fontBase == FONT_SPRITE_BASE_TINY)
|
||||
height += 6;
|
||||
|
||||
Reference in New Issue
Block a user