1
0
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:
Ted John
2016-04-25 23:20:54 +01:00
parent 489ea66cc9
commit 7be699adbb

View File

@@ -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;