| 2945 | } |
| 2946 | |
| 2947 | bool 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: |
no outgoing calls
no test coverage detected