178 {
181
182
183 if (!Class.CastTo(entity, object_in_cone))
184 return true;
185 if (entity == player)
186 return true;
187 if (entity.IsParticle())
188 return true;
189 if (entity.IsScriptedLight())
190 return true;
191 if (entity.IsBeingPlaced())
192 return true;
193 if (entity.IsHologram())
194 return true;
195
197 if (!Class.CastTo(item, object_in_cone) && !object_in_cone.IsTransport() && !PASBroadcaster.Cast(object_in_cone))
198 return true;
199
200 return false;
201 }
class GP5GasMask extends MaskBase ItemBase
proto native CGame GetGame()