[wesnoth-commits] [wesnoth/wesnoth] 17edbc: When starting or loading a game, warn if the next ...
Steve Cotton
noreply at github.com
Sat Jun 19 20:22:31 UTC 2021
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 17edbcb90afa00fc127e191d5ec55139ea0b23c6
https://github.com/wesnoth/wesnoth/commit/17edbcb90afa00fc127e191d5ec55139ea0b23c6
Author: Steve Cotton <steve at octalot.co.uk>
Date: 2021-06-19 (Sat, 19 Jun 2021)
Changed paths:
A data/test/scenarios/unknown_scenario_warning.cfg
M src/play_controller.cpp
M src/play_controller.hpp
M wml_test_schedule
Log Message:
-----------
When starting or loading a game, warn if the next scenario is unknown
Check that the scenario's next_scenario= exists, and display a warning
if it would lead to an "Unknown Scenario" error. This also checks any
[endlevel] tags in events.
The error message includes the id of the missing scenario, but is mainly
a recommendation to check the forums and report a bug in the campaign.
This version has a short, one-size-fits-all, text for the error message.
More information about the Commits
mailing list