equal
deleted
inserted
replaced
204 |
204 |
205 |
205 |
206 /** Procedure called for every vehicle found in tunnel/bridge in the hash map */ |
206 /** Procedure called for every vehicle found in tunnel/bridge in the hash map */ |
207 static void *GetVehicleTunnelBridgeProc(Vehicle *v, void *data) |
207 static void *GetVehicleTunnelBridgeProc(Vehicle *v, void *data) |
208 { |
208 { |
209 if (v->type != VEH_TRAIN && v->type != VEH_ROAD) return NULL; |
209 if (v->type != VEH_TRAIN && v->type != VEH_ROAD && v->type != VEH_SHIP) return NULL; |
210 |
210 |
211 _error_message = VehicleInTheWayErrMsg(v); |
211 _error_message = VehicleInTheWayErrMsg(v); |
212 return v; |
212 return v; |
213 } |
213 } |
214 |
214 |