CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Guillaume Melquiond <[EMAIL PROTECTED]> 04/12/23 20:03:53
Modified files:
src : statistics.cpp
Log message:
Fix another bug in statistics code, spotted by ott this time.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/statistics.cpp.diff?tr1=1.12&tr2=1.13&r1=text&r2=text
Patches:
Index: wesnoth/src/statistics.cpp
diff -u wesnoth/src/statistics.cpp:1.12 wesnoth/src/statistics.cpp:1.13
--- wesnoth/src/statistics.cpp:1.12 Sun Dec 19 20:25:35 2004
+++ wesnoth/src/statistics.cpp Thu Dec 23 20:03:53 2004
@@ -224,7 +224,7 @@
}
if(cfg.child("defends")) {
- attacks = read_battle_result_map(*cfg.child("attacks"));
+ defends = read_battle_result_map(*cfg.child("defends"));
}
recruit_cost = atoi(cfg["recruit_cost"].c_str());