File diff r5793:9b6cdefbeeea → r5794:197ed16e0231
src/vehicle.cpp
Show inline comments
 
@@ -2152,7 +2152,7 @@ static int32 MaybeReplaceVehicle(Vehicle
 

	
 
	_current_player = v->owner;
 

	
 
	assert(v->type == VEH_Train || v->type == VEH_Road || v->type == VEH_Ship || v->type == VEH_Aircraft);
 
	assert(IsPlayerBuildableVehicleType(v));
 

	
 
	assert(v->vehstatus & VS_STOPPED); // the vehicle should have been stopped in VehicleEnteredDepotThisTick() if needed