TheDoctor0 / CSGOMod

CS:GO Mod for Counter-Strike 1.6 (AMXX 1.8.3 / 1.9 / 1.10).
MIT License
58 stars 35 forks source link

Consider removing is_user_valid macro (small optimization) #118

Closed rivit98 closed 3 years ago

rivit98 commented 3 years ago

is_user_alive and is_user_connected natives are checking range of id, so additional check is not necessary (is_user_valid)

Occurences of is_user_valid https://github.com/TheDoctor0/CSGOMod/search?q=is_user_valid

rivit98 commented 3 years ago

Thanks!