forked from rosebudai/OpenRCT2-Web
fix mistake, wrong enum
This commit is contained in:
1 parent
489ea66cc9
commit
7be699adbb
1 file changed
+1
-1
@@ -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