14
Apr
Just some useful code I came accross; I’ve no idea if I wrote this or if I found it somewhere, so if it’s not mine, credit to whoever’s it is.
If it is mine, credit to Me
123456789101112131415161718192021222324252627//JB: find the nearest ally
CHL2MP_Player* CHL2MP_Player::FindNearestAlly()
{
const Vector & vAbsOrigin = GetAbsOrigin();
float [...]