// Serialize concurrent updates to the team AI unsortedPlanes list on a LocalMP host. // The local server cannot add locking inside the client's parallel aircraft physics threads. // Without it: concurrent HeapReAlloc calls on the shared vector corrupt the heap (0xC0000374). { "module": "local_mp_air_ai_sync", "features": [ "K-AI opponents and teammates" ], "requires": [ "local_mp_core" ], "sites": { // TeamAiManager::addToUnsortedPlanes; unique reference to "unsortedPlanes". // Verified at 2.61.0.37 0x807be0, 2.61.0.58 0x80a2b0, 2.61.0.60 0x80a150. "air_ai_add_unsorted_plane": { "variants": [ { "written_for": "2.61.0.37", "locate": { "method": "string_ref", "string": "unsortedPlanes", "target": "function" } } ] } } }