diff --git a/source/src/clientextras.cpp b/source/src/clientextras.cpp index 2d8493b9..046aba94 100644 --- a/source/src/clientextras.cpp +++ b/source/src/clientextras.cpp @@ -138,16 +138,16 @@ void renderscores() loopv(players) addteamscore(players[i]); if(!demoplayback) addteamscore(player1); teamscores.sort(teamscorecmp); + string &teamline = scorelines.add().s; + teamline[0] = 0; loopv(teamscores) { - string &teamline = scorelines.add().s; - teamline[0] = 0; string s; if(m_ctf) s_sprintf(s)("[ %s: %d flags %d frags ]", teamscores[i].team, teamscores[i].flagscore, teamscores[i].score); else s_sprintf(s)("[ %s: %d ]", teamscores[i].team, teamscores[i].score); s_strcat(teamline, s); - menumanual(menu, scorelines.length(), teamline); }; + menumanual(menu, scorelines.length(), teamline); }; }; diff --git a/source/src/renderextras.cpp b/source/src/renderextras.cpp index 5963e014..08385a96 100644 --- a/source/src/renderextras.cpp +++ b/source/src/renderextras.cpp @@ -432,7 +432,7 @@ void gl_drawhud(int w, int h, int curfps, int nquads, int curvert, bool underwat { glPushMatrix(); glOrtho(0, VIRTW/3, VIRTH/3, 0, -1, 1); - draw_text("\f3You Killed A Teammate", 0, VIRTH/3/2); + draw_text("\f3you killed a teammate", VIRTW/3/40, VIRTH/3/2); glPopMatrix(); };