MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / active_contact

Method active_contact

ogsr_engine/xrGame/script_zone.cpp:119–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117#endif
118
119bool CScriptZone::active_contact(u16 id) const
120{
121 xr_vector<CObject*>::const_iterator I = feel_touch.begin();
122 xr_vector<CObject*>::const_iterator E = feel_touch.end();
123 for (; I != E; ++I)
124 if ((*I)->ID() == id)
125 return (true);
126 return (false);
127}

Callers 1

active_zone_contactMethod · 0.45

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected