Skip to content

Commit

Permalink
Fixed field declaration order for proper initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
LovCAPONE committed Jul 31, 2014
1 parent 826c591 commit 78cb71b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game_preferences_display.cpp
Expand Up @@ -242,6 +242,7 @@ preferences_dialog::preferences_dialog(display& disp, const config& game_cfg)
idle_anim_button_(disp.video(), _("Show unit idle animations"), gui::button::TYPE_CHECK),
standing_anim_button_(disp.video(), _("Show unit standing animations"), gui::button::TYPE_CHECK),
animate_map_button_(disp.video(), _("Animate map"), gui::button::TYPE_CHECK),
disable_auto_move_button_(disp.video(), _("Disable automatic moves"), gui::button::TYPE_CHECK),

// Colors tab buttons
orb_colors_defaults_(disp.video(), _("Defaults")),
Expand All @@ -250,7 +251,6 @@ preferences_dialog::preferences_dialog(display& disp, const config& game_cfg)
orb_colors_unmoved_toggle_(disp.video(), _("Show unmoved orb"), gui::button::TYPE_CHECK),
orb_colors_partial_toggle_(disp.video(), _("Show partial moved orb"), gui::button::TYPE_CHECK),
orb_colors_moved_toggle_(disp.video(), _("Show moved orb"), gui::button::TYPE_CHECK),
disable_auto_move_button_(disp.video(), _("Disable automatic moves"), gui::button::TYPE_CHECK),

//colors tab buttons
orb_colors_ally_buttons_(),
Expand Down

0 comments on commit 78cb71b

Please sign in to comment.