From 6901de934ffc1a4a3952981da2665e24c43e1b71 Mon Sep 17 00:00:00 2001 From: Gleb Mazovetskiy Date: Mon, 16 Oct 2023 18:32:09 +0100 Subject: [PATCH] lua: re-enable drawString --- Source/utils/lua.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/utils/lua.cpp b/Source/utils/lua.cpp index 0b2605c8863..ddc96bd4af7 100644 --- a/Source/utils/lua.cpp +++ b/Source/utils/lua.cpp @@ -175,8 +175,7 @@ void LuaInitialize() lua.create_named_table( "devilutionx", "message", [](std::string_view text) { EventPlrMsg(text, UiFlags::ColorRed); }, - // TODO: Re-enable once https://github.com/bebbo/amiga-gcc/issues/363 is fixed. - // "drawString", [](std::string_view text, int x, int y) { DrawString(GlobalBackBuffer(), text, { x, y }); } + "drawString", [](std::string_view text, int x, int y) { DrawString(GlobalBackBuffer(), text, { x, y }); }, "log", LuaLog, "logVerbose", LuaLogVerbose, "logDebug", LuaLogDebug,