From e43c5e00ea2c39ccce44c05c24407f00f1d4c430 Mon Sep 17 00:00:00 2001 From: aerkefiende Date: Thu, 10 Jan 2013 22:38:28 +0000 Subject: [PATCH] Minor fix of rev 7051 and 7052; needs still the scores of disconnected players git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7054 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/scoreboard.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/source/src/scoreboard.cpp b/source/src/scoreboard.cpp index 28fbdf7f..d62e46d5 100644 --- a/source/src/scoreboard.cpp +++ b/source/src/scoreboard.cpp @@ -306,7 +306,7 @@ int getwinningteam() { } -playerent *getWinningPlayer() { +playerent *getwinningplayer() { playerent *winner; int winningscore = 0; bool istie = true; //If no players, then it is a tie. @@ -373,7 +373,6 @@ void renderscores(void *menu, bool init) if (m_teammode) { // Add in the winning team int winningteam = getwinningteam(); - conoutf("winning team = %d", winningteam); if (winningteam == -1) { concatstring(modeline, ", \f2it's a tie!"); } @@ -385,7 +384,7 @@ void renderscores(void *menu, bool init) } } else { //FFA modes - playerent *winner = getWinningPlayer(); + playerent *winner = getwinningplayer(); if (winner == NULL) { concatstring(modeline, ", \f2it's a tie!"); }