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

Method DoorSwitch

ogsr_engine/xrGame/Car.cpp:1497–1509  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1495}
1496
1497bool CCar::DoorSwitch(u16 id)
1498{
1499 xr_map<u16, SDoor>::iterator i;
1500 if (is_Door(id, i))
1501 {
1502 i->second.Switch();
1503 return true;
1504 }
1505 else
1506 {
1507 return false;
1508 }
1509}
1510bool CCar::DoorClose(u16 id)
1511{
1512 xr_map<u16, SDoor>::iterator i;

Callers

nothing calls this directly

Calls 1

SwitchMethod · 0.45

Tested by

no test coverage detected