MCPcopy Create free account
hub / github.com/diasurgical/DevilutionX / UpdateDoor

Function UpdateDoor

Source/objects.cpp:1661–1668  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1659}
1660
1661void UpdateDoor(Object &door)
1662{
1663 if (door._oVar4 == DOOR_CLOSED) {
1664 return;
1665 }
1666
1667 door._oVar4 = IsDoorClear(door) ? DOOR_OPEN : DOOR_BLOCKED;
1668}
1669
1670void UpdateSarcophagus(Object &sarcophagus)
1671{

Callers 1

ProcessObjectsFunction · 0.85

Calls 1

IsDoorClearFunction · 0.85

Tested by

no test coverage detected