#endif
}
- if ( IS_REAL_CLIENT(toucher) && !IS_VEHICLE(toucher) )
+ if ( IS_REAL_CLIENT(toucher) || (IS_VEHICLE(toucher) && toucher.owner) )
{
entity show_tint = (IS_VEHICLE(toucher)) ? toucher.owner : toucher;
STAT(ENTRAP_ORB, show_tint) = time + 0.1;
}
- if ( IS_REAL_CLIENT(toucher) && !IS_VEHICLE(toucher) )
+ if ( IS_REAL_CLIENT(toucher) || (IS_VEHICLE(toucher) && toucher.owner) )
{
entity show_red = (IS_VEHICLE(toucher)) ? toucher.owner : toucher;
STAT(HEALING_ORB, show_red) = time+0.1;
void nade_veil_touch(entity this, entity toucher)
{
- if ( IS_REAL_CLIENT(toucher) && !IS_VEHICLE(toucher) )
+ if ( IS_REAL_CLIENT(toucher) || (IS_VEHICLE(toucher) && toucher.owner) )
{
entity show_tint = (IS_VEHICLE(toucher)) ? toucher.owner : toucher;