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

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

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


From: John McNabb
Subject: [Wesnoth-cvs-commits] wesnoth/src team.cpp
Date: Sat, 17 Sep 2005 17:11:41 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     John McNabb <address@hidden>    05/09/17 21:11:41

Modified files:
        src            : team.cpp 

Log message:
        fixed ai_save bug 14558

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/team.cpp.diff?tr1=1.91&tr2=1.92&r1=text&r2=text

Patches:
Index: wesnoth/src/team.cpp
diff -u wesnoth/src/team.cpp:1.91 wesnoth/src/team.cpp:1.92
--- wesnoth/src/team.cpp:1.91   Sat Jul  2 21:37:19 2005
+++ wesnoth/src/team.cpp        Sat Sep 17 21:11:41 2005
@@ -1,4 +1,4 @@
-/* $Id: team.cpp,v 1.91 2005/07/02 21:37:19 ott Exp $ */
+/* $Id: team.cpp,v 1.92 2005/09/17 21:11:41 darthfool Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://www.wesnoth.org/
@@ -202,6 +202,7 @@
        for(std::vector<config>::const_iterator ai = ai_params.begin(); ai != 
ai_params.end(); ++ai) {
                cfg.add_child("ai",*ai);
        }
+       cfg["ai_algorithm"] = ai_algorithm;
 
        cfg["gold"] = gold;
        cfg["income"] = income;
@@ -233,7 +234,6 @@
        case EMPTY: cfg["controller"] = "null"; break;
        default: wassert(false);
        }
-
        cfg["persistent"] = persistent ? "1" : "0";
 
        sprintf(buf,"%d",villages_per_scout);




reply via email to

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