mail[Wesnoth-commits] r24333 - /branches/1.4/src/game.cpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by soliton . de on March 05, 2008 - 18:42:
Author: soliton
Date: Wed Mar  5 18:42:18 2008
New Revision: 24333

URL: http://svn.gna.org/viewcvs/wesnoth?rev=24333&view=rev
Log:
* hardcode check for 1.4* when loading savegames since those should all be 
compatible

Modified:
    branches/1.4/src/game.cpp

Modified: branches/1.4/src/game.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/branches/1.4/src/game.cpp?rev=24333&r1=24332&r2=24333&view=diff
==============================================================================
--- branches/1.4/src/game.cpp (original)
+++ branches/1.4/src/game.cpp Wed Mar  5 18:42:18 2008
@@ -768,7 +768,7 @@
                }
 
                const std::string version = cfg["version"];
-               if(version != game_config::version) {
+               if (utils::wildcard_string_match(version, "1.4*")) {
                        // do not load if too old, if either the savegame or 
the current game
                        // has the version 'test' allow loading
                        if(version < game_config::min_savegame_version &&




Related Messages


Powered by MHonArc, Updated Wed Mar 05 19:21:49 2008