/** * Test whether a vehicle can load cargo at a station even if exclusive transport rights are present. * @param st Station with cargo waiting to be loaded. * @param v Vehicle loading the cargo. * @return true when a vehicle can load the cargo. */ static bool VehicleMayLoad(const Station *st, const Vehicle *v) { return st->owner != OWNER_NONE || st->town->exclusive_counter == 0 || st->town->exclusivity == v->owner; }