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

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

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


From: Cedric Duval
Subject: [Wesnoth-cvs-commits] wesnoth/src game.cpp
Date: Thu, 07 Oct 2004 17:07:24 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Cedric Duval <address@hidden>   04/10/07 21:00:31

Modified files:
        src            : game.cpp 

Log message:
        Fixed savegames of (begining of) tutorial not loading.

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

Patches:
Index: wesnoth/src/game.cpp
diff -u wesnoth/src/game.cpp:1.144 wesnoth/src/game.cpp:1.145
--- wesnoth/src/game.cpp:1.144  Thu Oct  7 19:49:26 2004
+++ wesnoth/src/game.cpp        Thu Oct  7 21:00:31 2004
@@ -1,4 +1,4 @@
-/* $Id: game.cpp,v 1.144 2004/10/07 19:49:26 silene Exp $ */
+/* $Id: game.cpp,v 1.145 2004/10/07 21:00:31 cedricd Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -842,7 +842,9 @@
                }
        }
 
-       if(state_.campaign_type == "multiplayer") {
+       if(state_.campaign_type == "tutorial") {
+               defines_map_["TUTORIAL"] = preproc_define();
+       } else if(state_.campaign_type == "multiplayer") {
                //make all network players local
                for(config::child_itors sides = 
state_.snapshot.child_range("side");
                    sides.first != sides.second; ++sides.first) {




reply via email to

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