From 48e8aad4e5cf74a6d0f392540bd07ff984d225d6 Mon Sep 17 00:00:00 2001 From: m Date: Sat, 28 Aug 2021 00:27:18 -0500 Subject: [PATCH] unrelated LUA changes --- src/component/game_console.cpp | 4 ++-- src/game/symbols.hpp | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/component/game_console.cpp b/src/component/game_console.cpp index f6dc5d75..07a76775 100644 --- a/src/component/game_console.cpp +++ b/src/component/game_console.cpp @@ -234,7 +234,7 @@ namespace game_console con.globals.left_x = con.screen_min[0] + 6.0f; draw_input_box(1, dvars::con_inputBoxColor->current.vector); - draw_input_text_and_over("h1-mod >", color_h2); + draw_input_text_and_over("h2-mod >", color_h2); con.globals.left_x = con.globals.x; con.globals.auto_complete_choice[0] = 0; @@ -385,7 +385,7 @@ namespace game_console const auto width = (con.screen_max[0] - con.screen_min[0]) - 12.0f; const auto height = ((con.screen_max[1] - con.screen_min[1]) - 32.0f) - 12.0f; - game::R_AddCmdDrawText("h1-mod", 0x7FFFFFFF, console_font, x, + game::R_AddCmdDrawText("h2-mod", 0x7FFFFFFF, console_font, x, ((height - 16.0f) + y) + console_font->pixelHeight, 1.0f, 1.0f, 0.0f, color_h2, 0); draw_output_scrollbar(x, y, width, height); diff --git a/src/game/symbols.hpp b/src/game/symbols.hpp index 2346e01b..6ef5b81c 100644 --- a/src/game/symbols.hpp +++ b/src/game/symbols.hpp @@ -12,6 +12,7 @@ namespace game WEAK symbol Cbuf_AddText{0x59A050}; WEAK symbol CG_GameMessage{0x37F450}; + WEAK symbol CG_GameMessageBold{0x37F1B0}; WEAK symbol Cmd_AddCommandInternal{0x59A5F0}; WEAK symbol Cmd_ExecuteSingleCommand{0x59ABA0};