From 20955c5542384b1de8a16791cbd8e45f2e67c8d4 Mon Sep 17 00:00:00 2001 From: driAn Date: Mon, 15 Jan 2007 20:41:32 +0000 Subject: [PATCH] no message git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@814 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/clientextras.cpp | 6 +++--- source/src/renderextras.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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(); };