mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-19 21:03:21 +00:00
Update controller.cpp
since state_of_game isn't used in this class but gamedata is, i assume, that most likely this was forgotten in c17d84b.
This commit is contained in:
parent
fae1adfa85
commit
c24af6ef11
@ -53,7 +53,7 @@ controller::controller(display& disp, const vconfig& data, const std::string& sc
|
||||
, segment_index_(segment_index)
|
||||
, parts_()
|
||||
{
|
||||
ASSERT_LOG(resources::state_of_game != NULL, "Ouch: gamestate is NULL when initializing storyscreen controller");
|
||||
ASSERT_LOG(resources::gamedata != NULL, "Ouch: gamedata is NULL when initializing storyscreen controller");
|
||||
resolve_wml(data);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user