| 1233 | _vehicles.Remove(vehicle); |
| 1234 | } |
| 1235 | void World::InsertVehicle(Entity* vehicle) |
| 1236 | { |
| 1237 | #if LOG_ADD_REMOVE_VEHICLE |
| 1238 | LOG_DEBUG(World, "World::InsertVehicle {}", (const char*)vehicle->GetDebugName()); |
| 1239 | #endif |
| 1240 | DoAssert(vehicle->RefCounter() == 0 || _vehicles.Find(vehicle) < 0); |
| 1241 | _vehicles.Insert(vehicle); |
| 1242 | } |
| 1243 | void World::DeleteVehicle(Entity* vehicle) |
| 1244 | { |
| 1245 | #if LOG_ADD_REMOVE_VEHICLE |
nothing calls this directly
no test coverage detected