1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-28 17:24:47 +01:00

Remove unused variable gCurrentFontFlags

This commit is contained in:
ζeh Matt
2021-01-30 17:46:22 +02:00
committed by GitHub
parent e3a1af3d05
commit 9ff2138f3f
9 changed files with 3 additions and 19 deletions

View File

@@ -279,8 +279,6 @@ static int32_t chat_history_draw_string(
gfx_wrap_string(buffer, width, &numLines, &fontSpriteBase);
auto lineHeight = font_get_line_height(fontSpriteBase);
gCurrentFontFlags = 0;
int32_t expectedY = screenCoords.y - (numLines * lineHeight);
if (expectedY < 50)
{
@@ -312,8 +310,6 @@ int32_t chat_string_wrapped_get_height(void* args, int32_t width)
gfx_wrap_string(buffer, width, &numLines, &fontSpriteBase);
lineHeight = font_get_line_height(fontSpriteBase);
gCurrentFontFlags = 0;
lineY = 0;
for (int32_t line = 0; line <= numLines; ++line)
{