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
This commit is contained in:
aerkefiende
2013-01-10 22:38:28 +00:00
parent 0b7d22c378
commit e43c5e00ea
+2 -3
View File
@@ -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!");
}