Show CN on HUD, if name of spectated player is a duplicate

This commit is contained in:
aurhat
2015-06-23 20:03:00 +02:00
parent 0197cea1ea
commit d82b54de7e
+1 -1
View File
@@ -1087,7 +1087,7 @@ void gl_drawhud(int w, int h, int curfps, int nquads, int curvert, bool underwat
draw_text(specttext, VIRTW/40, VIRTH/10*7);
if(is_spect)
{
defformatstring(name)("Player %s", players[player1->followplayercn]->name);
defformatstring(name)("Player %s", colorname(players[player1->followplayercn]));
draw_text(name, VIRTW/40, VIRTH/10*8);
}
}