| 1250 | } |
| 1251 | |
| 1252 | void World::AddOutVehicle(Entity* vehicle) |
| 1253 | { |
| 1254 | #if LOG_ADD_REMOVE_VEHICLE |
| 1255 | LOG_DEBUG(World, "World::AddOutVehicle {}", (const char*)vehicle->GetDebugName()); |
| 1256 | #endif |
| 1257 | DoAssert(vehicle->RefCounter() == 0 || _outVehicles.Find(vehicle) < 0); |
| 1258 | _outVehicles.Add(vehicle); |
| 1259 | } |
| 1260 | |
| 1261 | void World::RemoveOutVehicle(Entity* vehicle) |
| 1262 | { |
no test coverage detected