mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-10 15:52:55 +00:00
Avoid dereferencing NULL underlying configs from vconfig objects...
...in the storyscreen WML resolver procedure. Fixes bug #13601.
This commit is contained in:
parent
5c3e5b24f5
commit
1845ed4562
@ -16,6 +16,7 @@ Version 1.7.0+svn:
|
||||
* Miscellaneous and bugfixes:
|
||||
* Add strict compilation to cmake
|
||||
* Let cmake also use the CXXFLAGS and CFLAGS environment variables
|
||||
* Fixed a segmentation fault with storyscreens using [if]
|
||||
|
||||
Version 1.7.0:
|
||||
* AI:
|
||||
|
@ -14,6 +14,9 @@ Version 1.7.0+svn:
|
||||
* User interface
|
||||
* Improved the layout to take less space in certain cases.
|
||||
|
||||
* Miscellaneous and bugfixes
|
||||
* Fixed a crash in some storyscreens.
|
||||
|
||||
Version 1.7.0:
|
||||
* Campaigns
|
||||
* Delfador's Memoirs: new campaign added to mainline (Novice level,
|
||||
|
@ -164,6 +164,10 @@ part::TITLE_ALIGNMENT part::string_title_align(const std::string& s)
|
||||
|
||||
void part::resolve_wml(const vconfig& cfg, game_state& gamestate)
|
||||
{
|
||||
if(cfg.null()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if(cfg.has_attribute("background")) {
|
||||
background_file_ = cfg["background"];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user