Forgot to initialize some class members.

This commit is contained in:
fendrin 2013-12-18 00:46:09 +01:00
parent 130009ef7f
commit d60dc5ff2d

View File

@ -52,6 +52,12 @@ map_context::map_context(const editor_map& map, const display& disp, bool pure_m
, needs_labels_reset_(false)
, changed_locations_()
, everything_changed_(false)
, scenario_id_()
, scenario_name_()
, scenario_description_()
, xp_mod_(70)
, victory_defeated_(true)
, random_time_(false)
, active_area_(1)
, labels_(disp, NULL)
, units_()
@ -80,6 +86,9 @@ map_context::map_context(const config& game_config, const std::string& filename,
, scenario_id_()
, scenario_name_()
, scenario_description_()
, xp_mod_(70)
, victory_defeated_(true)
, random_time_(false)
, active_area_(0)
, labels_(disp, NULL)
, units_()