MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / compareid

Function compareid

Descent3/OsirisLoadandBind.cpp:2947–2957  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2945}
2946
2947bool compareid(tOSIRISSCRIPTID *sid, tOSIRISSCRIPTID *oid) {
2948 if (sid->type == oid->type) {
2949 if (sid->type == LEVEL_SCRIPT)
2950 return true;
2951 if (sid->type == TRIGGER_SCRIPT && sid->triggernum == oid->triggernum)
2952 return true;
2953 if (sid->type == OBJECT_SCRIPT && sid->objhandle == oid->objhandle)
2954 return true;
2955 }
2956 return false;
2957}
2958
2959// Osiris_FreeMemoryForScript
2960// Purpose:

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected