Skip to content

Commit

Permalink
Fixup 27912cd
Browse files Browse the repository at this point in the history
I added a new side but forgot to init the flags. This caused a crash when assigning a village to the initial side.
  • Loading branch information
Vultraz committed May 3, 2017
1 parent f2705ab commit a82b70f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/editor/map/context_manager.cpp
Expand Up @@ -982,6 +982,7 @@ void context_manager::new_scenario(int width, int height, const t_translation::t

// Give the new scenario an initial side.
get_map_context().new_side();
gui_.init_flags();
}

//
Expand Down

0 comments on commit a82b70f

Please sign in to comment.