MCPcopy Create free account
hub / github.com/diasurgical/devilution / PortalOnLevel

Function PortalOnLevel

Source/portal.cpp:91–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91BOOL PortalOnLevel(int i)
92{
93 if (portal[i].level == currlevel)
94 return TRUE;
95 else
96 return currlevel == 0;
97}
98
99void RemovePortalMissile(int id)
100{

Callers 1

On_DEACTIVATEPORTALFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected