can pass char to this now

no need to reconvert this stuff from const char to std::string and back to const char really lol
This commit is contained in:
alufolie91 committed 2026-07-24 15:54:50 +02:00
1 parent 5c7be85977
commit 0c440d240c
1 file changed
+2 -2
+2 -2
View File
@@ -147,13 +147,13 @@ void LUA_RenderTimers(void)
float row_y = kRowHeight;
// pretty much what the whole srb2::Draw does lol
auto draw_row = [](float x, float y, INT32 flags, const std::string& str)
auto draw_row = [](float x, float y, INT32 flags, const char *str)
{
V_DrawSmallStringAtFixed(
FloatToFixed(x),
FloatToFixed(y),
V_MONOSPACE|V_ALLOWLOWERCASE|flags,
str.c_str()
str
);
};