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: Guillaume Melquiond
Subject: [Wesnoth-cvs-commits] wesnoth/src team.cpp
Date: Thu, 03 Feb 2005 14:48:01 -0500

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Guillaume Melquiond <address@hidden>    05/02/03 19:48:01

Modified files:
        src            : team.cpp 

Log message:
        Fix dumb mistake with persistence: any team was probably persistent 
because of it.

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

Patches:
Index: wesnoth/src/team.cpp
diff -u wesnoth/src/team.cpp:1.77 wesnoth/src/team.cpp:1.78
--- wesnoth/src/team.cpp:1.77   Sat Jan 22 10:47:17 2005
+++ wesnoth/src/team.cpp        Thu Feb  3 19:48:00 2005
@@ -1,4 +1,4 @@
-/* $Id: team.cpp,v 1.77 2005/01/22 10:47:17 silene Exp $ */
+/* $Id: team.cpp,v 1.78 2005/02/03 19:48:00 silene Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -110,7 +110,6 @@
        else
                controller = AI;
 
-       bool persistent;
        std::string persist = cfg["persistent"];
        if (persist.empty()) persistent = controller == HUMAN;
        else persistent = persist == "1";




reply via email to

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