wesnoth-cvs-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-cvs-commits] wesnoth/src statistics.cpp


From: Guillaume Melquiond
Subject: [Wesnoth-cvs-commits] wesnoth/src statistics.cpp
Date: Thu, 23 Dec 2004 15:15:05 -0500

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Guillaume Melquiond <address@hidden>    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());




reply via email to

[Prev in Thread] Current Thread [Next in Thread]