mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +00:00
fix potential bug in mini score display
This commit is contained in:
parent
859c18dc07
commit
2fb1d13ba9
1 changed files with 4 additions and 10 deletions
|
@ -1022,11 +1022,8 @@ Sbar_DeathmatchOverlay (int start)
|
|||
// team
|
||||
if (cl.teamplay) {
|
||||
Draw_nString (x + 152, y, s->team->value, 4);
|
||||
}
|
||||
// draw name
|
||||
if (cl.teamplay)
|
||||
Draw_String (x + 152 + 40, y, s->name);
|
||||
else
|
||||
} else
|
||||
Draw_String (x + 152, y, s->name);
|
||||
|
||||
y += skip;
|
||||
|
@ -1117,12 +1114,9 @@ Sbar_MiniDeathmatchOverlay (void)
|
|||
// team
|
||||
if (cl.teamplay) {
|
||||
Draw_nString (x + 48, y, s->team->value, 4);
|
||||
}
|
||||
// draw name
|
||||
if (cl.teamplay)
|
||||
Draw_String (x + 48 + 40, y, s->name);
|
||||
else
|
||||
Draw_String (x + 48, y, s->name);
|
||||
Draw_nString (x + 48 + 40, y, s->name, 16);
|
||||
} else
|
||||
Draw_nString (x + 48, y, s->name, 16);
|
||||
y += 8;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue