mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-07 15:04:49 +00:00
Forgot to initialize some class members.
This commit is contained in:
parent
130009ef7f
commit
d60dc5ff2d
@ -52,6 +52,12 @@ map_context::map_context(const editor_map& map, const display& disp, bool pure_m
|
|||||||
, needs_labels_reset_(false)
|
, needs_labels_reset_(false)
|
||||||
, changed_locations_()
|
, changed_locations_()
|
||||||
, everything_changed_(false)
|
, everything_changed_(false)
|
||||||
|
, scenario_id_()
|
||||||
|
, scenario_name_()
|
||||||
|
, scenario_description_()
|
||||||
|
, xp_mod_(70)
|
||||||
|
, victory_defeated_(true)
|
||||||
|
, random_time_(false)
|
||||||
, active_area_(1)
|
, active_area_(1)
|
||||||
, labels_(disp, NULL)
|
, labels_(disp, NULL)
|
||||||
, units_()
|
, units_()
|
||||||
@ -80,6 +86,9 @@ map_context::map_context(const config& game_config, const std::string& filename,
|
|||||||
, scenario_id_()
|
, scenario_id_()
|
||||||
, scenario_name_()
|
, scenario_name_()
|
||||||
, scenario_description_()
|
, scenario_description_()
|
||||||
|
, xp_mod_(70)
|
||||||
|
, victory_defeated_(true)
|
||||||
|
, random_time_(false)
|
||||||
, active_area_(0)
|
, active_area_(0)
|
||||||
, labels_(disp, NULL)
|
, labels_(disp, NULL)
|
||||||
, units_()
|
, units_()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user