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: David White
Subject: [Wesnoth-cvs-commits] wesnoth/src game.cpp
Date: Sat, 04 Jun 2005 00:05:42 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     David White <address@hidden>    05/06/04 04:05:42

Modified files:
        src            : game.cpp 

Log message:
        fixed bug where loading saved games from tutorial didn't work

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

Patches:
Index: wesnoth/src/game.cpp
diff -u wesnoth/src/game.cpp:1.250 wesnoth/src/game.cpp:1.251
--- wesnoth/src/game.cpp:1.250  Fri Jun  3 05:28:48 2005
+++ wesnoth/src/game.cpp        Sat Jun  4 04:05:42 2005
@@ -1,4 +1,4 @@
-/* $Id: game.cpp,v 1.250 2005/06/03 05:28:48 silene Exp $ */
+/* $Id: game.cpp,v 1.251 2005/06/04 04:05:42 Sirp Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -707,7 +707,8 @@
 {
        state_ = game_state();
        state_.campaign_type = "tutorial";
-       state_.scenario = "tutorial";
+       state_.scenario = "tutorial";
+       state_.campaign_define = "TUTORIAL";
        defines_map_.clear();
        defines_map_["TUTORIAL"] = preproc_define();
 }




reply via email to

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