projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c8ca1b
)
Ooops. Mistake.
author
Ricardo Cruz
<rick2@aeiou.pt>
Fri, 17 Sep 2004 19:04:04 +0000
(19:04 +0000)
committer
Ricardo Cruz
<rick2@aeiou.pt>
Fri, 17 Sep 2004 19:04:04 +0000
(19:04 +0000)
SVN-Revision: 1943
src/statistics.cpp
patch
|
blob
|
history
diff --git
a/src/statistics.cpp
b/src/statistics.cpp
index
986138b
..
84dfc2f
100644
(file)
--- 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][S
TOTAL
] == -1)
+ if(stats_.stats[i][S
PLAYER
] == -1)
continue;
stats[i][SPLAYER] += stats_.stats[i][SPLAYER];
if(stats_.stats[i][STOTAL] != -1)