MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / RemoveSensor

Method RemoveSensor

engine/Poseidon/World/WorldSetup.cpp:478–485  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

476}
477
478void World::RemoveSensor(Entity* vehicle)
479{
480 Person* driver = dyn_cast<Person>(vehicle);
481 if (driver)
482 {
483 _sensorList->DeleteRow(driver);
484 }
485}
486
487void World::MoveOutAndDelete(VehicleList& vehicles, float deltaT, bool applyMove)
488{

Callers 7

KilledByMethod · 0.80
RemoveManFunction · 0.80
DestroyMethod · 0.80
DestroyObjectMethod · 0.80
TransferMsgMethod · 0.80
DoRespawnMethod · 0.80
DeleteVehicleFunction · 0.80

Calls 1

DeleteRowMethod · 0.80

Tested by

no test coverage detected