You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When target is too close to the tank origin, d2 - r2 expression in CFuncTank::AdjustAnglesForBarrel may become negative causing domain error on square root, and poisoning other fields and even other entities with NaN.
When target is too close to the tank origin,
d2 - r2
expression inCFuncTank::AdjustAnglesForBarrel
may become negative causing domain error on square root, and poisoning other fields and even other entities with NaN.This can be easily tested by jumping on a tank head on
c2a5b
. And there is even video about it: https://www.youtube.com/watch?v=VglqjKfIEZIThe proposed fix is to just don't change any angles in when target is too close: FWGS/hlsdk-portable@1394637
The text was updated successfully, but these errors were encountered: