I'm creating support for linux of my module and retrieving virtual private functions by offsets returns 0. How i'm doing is shown here:
Code:
edict_t *Entity = CREATE_ENTITY(...);
CALL_GAME_ENTITY(...);
void **VTable = *(void ***)(Entity->pvPrivateData);
return VTable[Offset];
This perfectly working on windows but on linux not. any help?
EDIT:
I have compared edict entvars to privatedata and they matched
__________________