| 67 | } |
| 68 | |
| 69 | void CScriptZone::net_Relcase(CObject* O) |
| 70 | { |
| 71 | CGameObject* l_tpGameObject = smart_cast<CGameObject*>(O); |
| 72 | if (!l_tpGameObject) |
| 73 | return; |
| 74 | |
| 75 | xr_vector<CObject*>::iterator I = std::find(feel_touch.begin(), feel_touch.end(), O); |
| 76 | if (I != feel_touch.end()) |
| 77 | { |
| 78 | callback(GameObject::eZoneExit)(lua_game_object(), l_tpGameObject->lua_game_object()); |
| 79 | } |
| 80 | } |
| 81 | |
| 82 | BOOL CScriptZone::feel_touch_contact(CObject* O) { return (((CCF_Shape*)CFORM())->Contact(O)); } |
| 83 |
nothing calls this directly
no test coverage detected