From: Ricardo Cruz Date: Fri, 17 Sep 2004 19:04:04 +0000 (+0000) Subject: Ooops. Mistake. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=f90b811b500771da67a8af0de63dd83f20756131;p=supertux.git Ooops. Mistake. SVN-Revision: 1943 --- diff --git a/src/statistics.cpp b/src/statistics.cpp index 986138b8f..84dfc2fc0 100644 --- a/src/statistics.cpp +++ b/src/statistics.cpp @@ -232,7 +232,7 @@ Statistics::operator+=(const Statistics& stats_) { for(int i = 0; i < NUM_STATS; i++) { - if(stats_.stats[i][STOTAL] == -1) + if(stats_.stats[i][SPLAYER] == -1) continue; stats[i][SPLAYER] += stats_.stats[i][SPLAYER]; if(stats_.stats[i][STOTAL] != -1)