Loading

Paste #pyjs64de7

  1. Index: src/saveload/ai_sl.cpp
  2. ===================================================================
  3. --- src/saveload/ai_sl.cpp  (revision 27582)
  4. +++ src/saveload/ai_sl.cpp  (working copy)
  5. @@ -83,7 +83,7 @@
  6.             /* A random AI. */
  7.             config->Change(NULL, -1, false, true);
  8.         } else {
  9. -           config->Change(_ai_saveload_name, _ai_saveload_version, false, _ai_saveload_is_random);
  10. +           config->Change(_ai_saveload_name, -1, true, _ai_saveload_is_random);
  11.             if (!config->HasScript()) {
  12.                 /* No version of the AI available that can load the data. Try to load the
  13.                  * latest version of the AI instead. */
  14. Index: src/saveload/game_sl.cpp
  15. ===================================================================
  16. --- src/saveload/game_sl.cpp    (revision 27582)
  17. +++ src/saveload/game_sl.cpp    (working copy)
  18. @@ -75,7 +75,7 @@
  19.     GameConfig *config = GameConfig::GetConfig(GameConfig::SSS_FORCE_GAME);
  20.     if (StrEmpty(_game_saveload_name)) {
  21.     } else {
  22. -       config->Change(_game_saveload_name, _game_saveload_version, false, _game_saveload_is_random);
  23. +       config->Change(_game_saveload_name, -1, true, _game_saveload_is_random);
  24.         if (!config->HasScript()) {
  25.             /* No version of the GameScript available that can load the data. Try to load the
  26.              * latest version of the GameScript instead. */

Version history

Revision # Author Created at
pqbqzlwvt Anonymous 26 May 2016, 17:14:28 UTC Diff
puz8c3l3n Anonymous 26 May 2016, 17:07:52 UTC Diff

Comments