Ooops. Mistake.
authorRicardo Cruz <rick2@aeiou.pt>
Fri, 17 Sep 2004 19:04:04 +0000 (19:04 +0000)
committerRicardo Cruz <rick2@aeiou.pt>
Fri, 17 Sep 2004 19:04:04 +0000 (19:04 +0000)
SVN-Revision: 1943

src/statistics.cpp

index 986138b..84dfc2f 100644 (file)
@@ -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)