File diff r4844:dcf812ad20ab → r4845:2200ed004c20
order_cmd.c
Show inline comments
 
@@ -352,7 +352,7 @@ int32 CmdInsertOrder(TileIndex tile, uin
 

	
 
	/* For ships, make sure that the station is not too far away from the
 
	 * previous destination, for human players with new pathfinding disabled */
 
	if (v->type == VEH_Ship && IS_HUMAN_PLAYER(v->owner) &&
 
	if (v->type == VEH_Ship && IsHumanPlayer(v->owner) &&
 
		sel_ord != 0 && GetVehicleOrder(v, sel_ord - 1)->type == OT_GOTO_STATION
 
		&& !_patches.new_pathfinding_all) {