wesnoth/data/schema/core
Steve Cotton 6828b54ac7 Log instead of assert for incorrect [teleport] tags in ActionWML
Each [teleport] tag should have exactly one each of [source],
[target] and [filter]. Missing any of those is caught immediately
above the new conditional block, so this makes having two or more
of any of them be treated the same.

The log should maybe be made more visible, but it's a case that
can already be detected by schema validation, so validate it
there instead.

The code in teleport.cpp uses assert() in the cases that the
newly-added code in this commit catches. That's bug 8175, and
it's probably still reachable for units with teleport abilities,
so this doesn't close that bug.
2024-02-09 14:45:03 +01:00
..
mapgen Support negative numbers in ranges 2023-08-11 21:59:06 +02:00
actionwml.cfg Log instead of assert for incorrect [teleport] tags in ActionWML 2024-02-09 14:45:03 +01:00
addons.cfg Add warning when [modification]type is not set, re #3415 2024-01-17 19:48:44 -06:00
conditionalwml.cfg Schema update for 6876695 2023-03-13 14:16:12 +01:00
config.cfg Add game_config.cfg's show_*_orb to the schema, rename show_partly_orb 2023-01-31 06:45:53 +01:00
help.cfg Add ThemeWML and HelpWML to the schema 2020-10-24 15:04:46 -04:00
themes.cfg Enable translation mark validation by the schema (#5800) 2021-06-14 23:59:52 -04:00