Skip to content

Commit

Permalink
lua: re-enable drawString
Browse files Browse the repository at this point in the history
  • Loading branch information
glebm committed Oct 16, 2023
1 parent 8b1ca4d commit ddc3a9e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Source/utils/lua.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ddc3a9e

Please sign in to comment.