Skip to content

Commit

Permalink
attempt to fix use after free when advancing unit in test scenario
Browse files Browse the repository at this point in the history
  • Loading branch information
gfgtdf committed Oct 20, 2016
1 parent 53758e0 commit 00e008d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/actions/advancement.hpp
Expand Up @@ -46,7 +46,7 @@ struct advance_unit_params
advance_unit_params& animate(bool value) {animate_ = value; return *this;}
friend void advance_unit_at(const advance_unit_params&);
private:
const map_location& loc_;
map_location loc_;
const ai::unit_advancements_aspect* ai_advancements_;
bool force_dialog_;
bool fire_events_;
Expand Down

0 comments on commit 00e008d

Please sign in to comment.