YaLTeR / BunnymodXT

Speedrun and TAS tool for Half-Life & friends.
Other
200 stars 38 forks source link

helper_functions: added IsPlayer and Center own implementations to not rely on hooked virtual functions #540

Open SmileyAG opened 2 months ago

SmileyAG commented 2 months ago

If you want an answer, is it really necessary to overloading the same function first with each individual argument, and then only with edict_t as an argument? I'll answer yes, because it solves two issues at once:

Also In case someone wants to merge it if I would inactive for a while: simply rebase to the latest master as soon as https://github.com/YaLTeR/BunnymodXT/pull/531 is merged to solve the build errors