View Single Post
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 09-17-2018 , 19:09   Re: set/get_pcvar_* error/crash
Reply With Quote #2

Pcvars are really just cvar pointers - it's impossible to check whether it's really pointing to a cvar_t struct, unless we change the implementation (i.e. use handles). Not sure if this would be a breaking change, doesn't seem so.

Anyway, just don't do that, I think it's rather obvious that you shouldn't do that.
__________________
klippy is offline