Fix a missing use of reference for unit parameter in undo action

This commit is contained in:
Ali El Gariani 2008-04-27 01:44:58 +00:00
parent 9546abc1bf
commit bd2c765909

View file

@ -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),