Fix a missing use of reference for unit parameter in undo action
This commit is contained in:
parent
9546abc1bf
commit
bd2c765909
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ int combat_modifier(const gamestatus& status,
|
|||
|
||||
//! Records information to be able to undo a movement.
|
||||
struct undo_action {
|
||||
undo_action(unit u,
|
||||
undo_action(const unit& u,
|
||||
const std::vector<gamemap::location>& rt,
|
||||
int sm, int timebonus = 0, int orig = -1) :
|
||||
route(rt),
|
||||
|
|
Loading…
Add table
Reference in a new issue