Removed useless assertion.

This commit is contained in:
Guillaume Melquiond 2009-08-15 15:07:19 +00:00
parent 24f1921e1f
commit 0f70433cf2

View file

@ -526,7 +526,6 @@ LEVEL_RESULT play_game(display& disp, game_state& gamestate, const config& game_
// Adds player information, and other state
// information, to the configuration object
assert(next_cfg != NULL);
gamestate.write_snapshot(next_cfg);
next_cfg["next_scenario"] = (*scenario)["next_scenario"];
next_cfg.add_child("snapshot");