[wesnoth-commits] [wesnoth/wesnoth] 0e726b: Add a log message if a campaign doesn't have a sce...

Steve Cotton noreply at github.com
Thu Nov 28 19:02:49 UTC 2019


  Branch: refs/heads/1.14
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 0e726b9fce4c0761f7decde23f3544b7737bcbf8
      https://github.com/wesnoth/wesnoth/commit/0e726b9fce4c0761f7decde23f3544b7737bcbf8
  Author: Steve Cotton <steve at octalot.co.uk>
  Date:   2019-11-28 (Thu, 28 Nov 2019)

  Changed paths:
    M src/saved_game.cpp

  Log Message:
  -----------
  Add a log message if a campaign doesn't have a scenario matching first_scenario

Otherwise this situation gives the WML coder merely the message "Failed to load
the scenario", without any further hint about why. The tagname is printed in case
the tag needs to be [multiplayer], [test] or [tutorial] instead of [scenario].

(cherry picked from commit d67e08826d0ffc9e1656e4b678309fa67c314dc1)





More information about the Commits mailing list