Fix [campaign] end_credits= having no effect
This commit is contained in:
parent
36f1fa2af1
commit
e20f2b86af
2 changed files with 2 additions and 0 deletions
|
@ -64,6 +64,7 @@
|
|||
* Fixed ThemeWML `[label] font_rgb=` generating text elements with broken UTF-8 sequences.
|
||||
* abilities used like weapon can call a [teaching_anim] instead of [leading_anim] now.
|
||||
* The campaign end screen is no longer displayed when `[campaign]/[endlevel] end_credits=` is set to a false value.
|
||||
* Fixed `end_credits=` in `[campaign]` not having any effect.
|
||||
### Miscellaneous and Bug Fixes
|
||||
* Added support for 1.14’s tag names in `[terrain_defaults]` (issue #5308).
|
||||
* Replaced legacy SDL_ttf/FriBidi-based font rendering used in old GUI1 code paths with Pango.
|
||||
|
|
|
@ -405,6 +405,7 @@ void create_engine::prepare_for_campaign(const std::string& difficulty)
|
|||
|
||||
state_.classification().end_text = current_level_data["end_text"].str();
|
||||
state_.classification().end_text_duration = current_level_data["end_text_duration"];
|
||||
state_.classification().end_credits = current_level_data["end_credits"].to_bool(true);
|
||||
|
||||
state_.classification().campaign_define = current_level_data["define"].str();
|
||||
state_.classification().campaign_xtra_defines =
|
||||
|
|
Loading…
Add table
Reference in a new issue