| 725 | } |
| 726 | |
| 727 | void VehiclesDistributed::Insert(Entity* vehicle) |
| 728 | { |
| 729 | Fail("Obsolete"); |
| 730 | vehicle->SetList(this); |
| 731 | _visibleNear.Add(vehicle); |
| 732 | #if LOG_ADD_REMOVE_VEHICLE |
| 733 | LOG_DEBUG(World, "Vehicle {} inserted to list {:x}", (const char*)vehicle->GetDebugName(), (uintptr_t)this); |
| 734 | #endif |
| 735 | } |
| 736 | |
| 737 | int VehiclesDistributed::Find(Entity* vehicle) const |
| 738 | { |
no test coverage detected