Skip to content

Commit

Permalink
Don't render RC star if render_gui setting is false
Browse files Browse the repository at this point in the history
  • Loading branch information
rollerozxa committed Sep 3, 2023
1 parent 6e9d0ca commit 789b709
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/src/game.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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<entity*>::iterator i = this->starred.begin();
i != this->starred.end(); i++) {
Expand Down

0 comments on commit 789b709

Please sign in to comment.