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 &&
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits