brentN5 / bt-target

GNU General Public License v3.0
36 stars 52 forks source link

basic optimizations and duplicate entity model check removal #20

Open LRemp opened 3 years ago

LRemp commented 3 years ago

Removed duplicate entity model check, since it doesn't make sense to check entity model twice. Defined player ped id before loop and replaced unnecessary "PlayerPedId()" and "GetPlayerPed(-1)" calls with previously defined variable "playerPed".