From 789b7090970ed62e10afa35d6631fb1c86fa9893 Mon Sep 17 00:00:00 2001 From: ROllerozxa Date: Sun, 3 Sep 2023 23:05:15 +0200 Subject: [PATCH] Don't render RC star if `render_gui` setting is false --- src/src/game.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/src/game.cc b/src/src/game.cc index 47e9aece..501e1bed 100644 --- a/src/src/game.cc +++ b/src/src/game.cc @@ -3966,6 +3966,10 @@ game::render_activators(void) void game::render_starred(void) { + if (settings["render_gui"]->is_false()) { + return; + } + tms_ddraw_set_color(this->dd, 1.0f, 1.0f, 1.0f, .75f+cos((double)_tms.last_time/100000.) * .25f); for (std::set::iterator i = this->starred.begin(); i != this->starred.end(); i++) {