- if (!IS_INDEPENDENT_PLAYER(e))
- if(!e.frozen)
- FOR_EACH_PLAYER(other) if(e != other)
- {
- if(IS_PLAYER(other))
- if(other.deadflag == DEAD_NO)
- if (!IS_INDEPENDENT_PLAYER(other))
- if(boxesoverlap(e.absmin, e.absmax, other.absmin, other.absmax))
- {
- t = autocvar_g_balance_firetransfer_time * (e.fire_endtime - time);
- d = autocvar_g_balance_firetransfer_damage * e.fire_damagepersec * t;
- Fire_AddDamage(other, o, d, t, DEATH_FIRE.m_id);
- }
- }
+ if(!IS_INDEPENDENT_PLAYER(e))
+ if(!STAT(FROZEN, e))
+ FOREACH_CLIENT(IS_PLAYER(it) && it != e, LAMBDA(
+ if(!IS_DEAD(it))
+ if(!IS_INDEPENDENT_PLAYER(it))
+ if(boxesoverlap(e.absmin, e.absmax, it.absmin, it.absmax))
+ {
+ t = autocvar_g_balance_firetransfer_time * (e.fire_endtime - time);
+ d = autocvar_g_balance_firetransfer_damage * e.fire_damagepersec * t;
+ Fire_AddDamage(it, o, d, t, DEATH_FIRE.m_id);
+ }
+ ));