mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-02-02 19:56:13 +01:00
Update members of TextDarkness
This commit is contained in:
@@ -825,11 +825,11 @@ void TTFDrawString(
|
||||
info.flags |= TEXT_DRAW_FLAG_NO_FORMATTING;
|
||||
}
|
||||
|
||||
if (darkness == TextDarkness::Dark)
|
||||
if (darkness == TextDarkness::dark)
|
||||
{
|
||||
info.flags |= TEXT_DRAW_FLAG_DARK;
|
||||
}
|
||||
else if (darkness == TextDarkness::ExtraDark)
|
||||
else if (darkness == TextDarkness::extraDark)
|
||||
{
|
||||
info.flags |= (TEXT_DRAW_FLAG_DARK | TEXT_DRAW_FLAG_EXTRA_DARK);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user