In the DECLARE_HOOK macro I thought.
Isn't SH_ADD_MANUALVPHOOK a global hook?
I read this:
http://forums.alliedmods.net/showthread.php?t=54993
and it says:
Quote:
|
So, you see, normal hooks are only executed on one specific instance; VP hooks are executed on all instances of a class (attention; if you have a magic pointer from somewhere, and this pointer is in fact a DERIVED class of what you think it is, it has its own vtable and thus VP hooks on what you think it is aren't called on it!).
|
Sorry if I'm wrong, I'm still learning that stuff.