Story Viewer: don't only validate presence of [part] tags under [story]

I forgot control tags like [switch] are allowed under [story]. This should hopefully fix bug #25655
This commit is contained in:
Charles Dang 2017-04-14 13:47:12 +11:00
parent 1adeb98dd8
commit f9004970c4

View file

@ -44,7 +44,7 @@ void show_story(CVideo& video, const std::string &scenario_name,
cfg.append_children(iter);
}
if(!cfg.has_child("part")) {
if(cfg.empty()) {
return;
}