from bot_combat.cpp VecCheckToss() function:
Code:
// get a rough idea of how high it can be thrown
vecMidPoint = vecSpot1 + (vecSpot2 - vecSpot1) * 0.5;
TRACE_LINE (vecMidPoint, vecMidPoint + Vector (0, 0, 500), ignore_monsters, pEdict, &tr);
if (tr.flFraction != 1.0)
{
vecMidPoint = tr.vecEndPos;
vecMidPoint.z = tr.pHit->v.absmin.z;
vecMidPoint.z--;
}
...but if tr.pHit is the worldspawn entity, the tr.pHit->v.absmin.z will just be zero. so this may be wrong code.
Perhaps you need to change this part of code back to the original HLSDK one (looks like CF has modified the two VecCheckxxxx() functions)