Skip to content

Commit b962ce7

Browse files
committed
radardisabled fixes
1 parent 2099399 commit b962ce7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/game/hud.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace hud
55
int damageresidue = 0, hudwidth = 0, hudheight = 0, lastteam = 0, laststats = 0, prevstats[NUMSTATS] = {0}, curstats[NUMSTATS] = {0};
66

77
#include "compass.h"
8-
vector<int> teamkills;
8+
vector<int> teamkills;m
99

1010
struct damageloc
1111
{
@@ -2899,7 +2899,7 @@ namespace hud
28992899
case 1:
29002900
{
29012901
int cm = cr+top;
2902-
if((!radardisabled || !m_hard(game::gamemode, game::mutators)) && radartype() == 3 && !hasinput(true) && (game::focus->state == CS_EDITING ? showeditradar >= 1 : chkcond(showradar, !game::tvmode() || (game::focus != game::player1 && radartype() == 3))))
2902+
if(!radardisabled && !m_hard(game::gamemode, game::mutators) && radartype() == 3 && !hasinput(true) && (game::focus->state == CS_EDITING ? showeditradar >= 1 : chkcond(showradar, !game::tvmode() || (game::focus != game::player1 && radartype() == 3))))
29032903
cm += int(max(w, h)/2*radarcorner*2);
29042904
if(inventorydate)
29052905
cm += drawitemtextx(cx[i], cm, 0, TEXT_RIGHT_JUSTIFY, inventorydateskew, "super", fade*inventorydateblend, "%s", gettime(currenttime, inventorydateformat));
@@ -3202,7 +3202,7 @@ namespace hud
32023202
}
32033203
}
32043204
}
3205-
if((!radardisabled || !m_hard(game::gamemode, game::mutators)) && !hasinput(true) && (game::focus->state == CS_EDITING ? showeditradar >= 1 : chkcond(showradar, !game::tvmode() || (game::focus != game::player1 && radartype() == 3))))
3205+
if(!radardisabled && !m_hard(game::gamemode, game::mutators) && !hasinput(true) && (game::focus->state == CS_EDITING ? showeditradar >= 1 : chkcond(showradar, !game::tvmode() || (game::focus != game::player1 && radartype() == 3))))
32063206
drawradar(w, h, fade);
32073207
}
32083208
drawspecborder(w, h, !gs_playing(game::gamestate) || game::player1->state == CS_SPECTATOR ? BORDER_SPEC : (game::player1->state == CS_WAITING ? BORDER_WAIT : (game::player1->state == CS_WAITING ? BORDER_EDIT : BORDER_PLAY)), top, bottom);

0 commit comments

Comments
 (0)