just a better way of doing things
itsyourcracker opened this issue · 3 comments
itsyourcracker commented
Instead of using 99999.f you could use FLT_MAX. I don't know I think it just makes it look better
dretax commented
Not sure from which part you are refering to, I am on phone but gonna check It out. Thanks.
itsyourcracker commented
https://github.com/dretax/GarHal_CSGO/blob/master/GarhalController/Aimbot.cpp
Line 119
float closest = 999999999.f;
you could change it to this
float closest = FLT_MAX;
dretax commented
Yeah, seen in the morning, but forgot after work.
Consider it done. Thanks.