GlowingTree880 / L4D2_LittlePlugins

L4D2_LittlePlugins
GNU General Public License v3.0
70 stars 7 forks source link

[Bug] ai_spitter2.0 Spitter 目标选择为多人时, 距离计算时选择错误客户端 #22

Open KashimuraBaka opened 6 months ago

KashimuraBaka commented 6 months ago

line 146:

if (IsValidSurvivor(crowdedTarget) && IsPlayerAlive(crowdedTarget))
{
      GetEntPropVector(pinnedTarget, Prop_Send, "m_vecOrigin", targetPos);
      ...
}

判定完 crowdedTarget 则计算与 pinnedTarget 距离, 无法正确设置特感目标