Skip to content

Commit

Permalink
Team status bar fix and cg_drawTeamOverlay fix by EddieBrrrock
Browse files Browse the repository at this point in the history
Co-authored-by: EddieBrrrock <[email protected]>
  • Loading branch information
Bishop-333 and Bishop-333 authored Mar 13, 2024
1 parent 73172da commit 7de5170
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions code/cgame/cg_draw.c
Original file line number Diff line number Diff line change
Expand Up @@ -1957,14 +1957,14 @@ CG_DrawLowerRight
static void CG_DrawLowerRight(void) {
float y;

y = 472 - ICON_SIZE;
y = 468 - ICON_SIZE;

if (CG_IsATeamGametype(cgs.gametype) && cg_drawTeamOverlay.integer == 2) {
y = CG_DrawTeamOverlay(y, qtrue, qfalse);
}

y = CG_DrawScores(y);
y = CG_DrawPowerups(y);
y = CG_DrawScores(y + 4);
y = CG_DrawPowerups(y + 4);
}
#endif // MISSIONPACK

Expand Down Expand Up @@ -2012,7 +2012,7 @@ CG_DrawLowerLeft
static void CG_DrawLowerLeft(void) {
float y;

y = 480 - ICON_SIZE;
y = 468 - ICON_SIZE;

if (CG_IsATeamGametype(cgs.gametype) && cg_drawTeamOverlay.integer == 3) {
y = CG_DrawTeamOverlay(y, qfalse, qfalse);
Expand Down

0 comments on commit 7de5170

Please sign in to comment.