wb: more detailed error message
This commit is contained in:
parent
e2a2a85f16
commit
852e50a2ef
1 changed files with 1 additions and 1 deletions
|
@ -539,7 +539,7 @@ int move::calculate_moves_left(unit& u)
|
|||
// @todo: find a better treatment of movement points when defining moves out-of-turn
|
||||
if(u.movement_left() - route_->move_cost < 0
|
||||
&& resources::controller->current_side() == display::get_singleton()->viewing_side()) {
|
||||
WRN_WB << "Move defined with insufficient movement left." << std::endl;
|
||||
WRN_WB << shared_from_this() << " defined with insufficient movement left." << std::endl;
|
||||
}
|
||||
|
||||
// If unit finishes move in a village it captures, set the move cost to unit's movement_left()
|
||||
|
|
Loading…
Add table
Reference in a new issue