i was trying to compile too , just wanted to reported it but i was offline
as mentiones it is in hlsdk pm_shared
the function check velocity is called fe wilens above (as i rember) when throwing grenade
i remeber this bug occurs since the may, i got some sources by pmb and they are working well, all newer are not so good
when bot tries to throw grenade the function says the velocity is NaN and also it is later inherited to user
so the grenade does not show up and finally the bot gets teleported to [0,0,0] , because the position (origin) is also NaN)
best viewed de_dust when bots are teleprted near to the ct spawn point
i was wondering if this can be cuased by compilation flags that are used for increading the speed of the executable, but old make has exackly the same lines and the error did not occur
i thought at first it was a architecutre error, but it is not (i guess
)
in conclusion - this was added to source :/
solution
1. for now add a var to disable bot grenade throwing
2. fix the source, i guess not the hlsdk
but podbot code that is responsible for grenades (btw maybe the g_ZeroVecros should be changed or more checks if the values are acceptable, cause i guess maybe there is a float with very low value that is rounded to zero...)