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

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

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


From: Jon Daniel
Subject: [Wesnoth-cvs-commits] wesnoth/src multiplayer_create.cpp
Date: Tue, 26 Jul 2005 07:47:17 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Jon Daniel <address@hidden>     05/07/26 11:47:16

Modified files:
        src            : multiplayer_create.cpp 

Log message:
        Use the default value for scenarios without experience_modifier

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

Patches:
Index: wesnoth/src/multiplayer_create.cpp
diff -u wesnoth/src/multiplayer_create.cpp:1.29 
wesnoth/src/multiplayer_create.cpp:1.30
--- wesnoth/src/multiplayer_create.cpp:1.29     Tue Jul 26 11:36:05 2005
+++ wesnoth/src/multiplayer_create.cpp  Tue Jul 26 11:47:16 2005
@@ -1,4 +1,4 @@
-/* $Id: multiplayer_create.cpp,v 1.29 2005/07/26 11:36:05 j_daniel Exp $ */
+/* $Id: multiplayer_create.cpp,v 1.30 2005/07/26 11:47:16 j_daniel Exp $ */
 /*
    Copyright (C)
    Part of the Battle for Wesnoth Project http://www.wesnoth.org
@@ -335,6 +335,7 @@
                        try {
                                
xp_modifier_slider_.set_value(lexical_cast<int>(parameters_.scenario_data["experience_modifier"]));
                        } catch(bad_lexical_cast bad_lexical) {
+                               
xp_modifier_slider_.set_value(preferences::xp_modifier());
                        }
                }
        }




reply via email to

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