player() call crash in the HPB template #4 -
07-05-2004
I downloaded the HPB template #4. But it doesn't work. When i write "addbot" at console CS 1.6 (STEAM) crashes. This bug in player() call:
void player( entvars_t *pev )
{
static LINK_ENTITY_FUNC otherClassName = NULL;
if (otherClassName == NULL)
otherClassName = (LINK_ENTITY_FUNC)GetProcAddress(h_Library,
"player");
if (otherClassName != NULL)
{
(*otherClassName)(pev);// <== this call crash CS.
}
}
How to fix it?
|