Make DrawText() internal again

This commit is contained in:
Gymnasiast committed 2026-03-22 13:21:15 +01:00
1 parent 8e41207e90
commit 38adb756ee
24 files changed
+67 -62

No files matched your search

+1 -4
View File
@@ -544,10 +544,7 @@ namespace OpenRCT2::Ui::Windows
const auto& entry = _invalidEntries[i];
auto name = entry.GetName();
char buffer[256];
String::set(buffer, sizeof(buffer), name.data(), name.size());
DrawText(rt, screenCoords, { Drawing::Colour::darkGreen }, buffer);
DrawTextBasic(rt, screenCoords, entry.GetName(), { Colour::darkGreen });
if (entry.Generation == ObjectGeneration::DAT)
{