MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / DoorUse

Method DoorUse

ogsr_engine/xrGame/Car.cpp:1483–1495  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1481 return false;
1482}
1483bool CCar::DoorUse(u16 id)
1484{
1485 xr_map<u16, SDoor>::iterator i;
1486 if (is_Door(id, i))
1487 {
1488 i->second.Use();
1489 return true;
1490 }
1491 else
1492 {
1493 return false;
1494 }
1495}
1496
1497bool CCar::DoorSwitch(u16 id)
1498{

Callers

nothing calls this directly

Calls 1

UseMethod · 0.45

Tested by

no test coverage detected