Copied unit instead of referencing it, since the recall list is volatile.
(Fix for bug #14642.)
This commit is contained in:
parent
99af9a2ef5
commit
467fcaed8f
1 changed files with 1 additions and 1 deletions
|
@ -954,7 +954,7 @@ void menu_handler::recall(int side_num, const map_location &last_hex)
|
|||
gui2::show_transient_message(gui_->video(), "", err);
|
||||
return;
|
||||
}
|
||||
unit &un = recall_list_team[res];
|
||||
unit un = recall_list_team[res];
|
||||
recorder.add_recall(un.id(), loc);
|
||||
un.set_game_context(&units_);
|
||||
place_recruit(un, loc, true, true);
|
||||
|
|
Loading…
Add table
Reference in a new issue