This commit is contained in:
David Anderson 2008-12-28 18:54:51 -05:00
commit 0a6cbadcd8

View File

@ -101,8 +101,8 @@ bool CreateBaseCall(const char *name,
*vaddr = call;
return true;
} else {
void *addr;
if (g_pGameConf->GetMemSig(name, &addr))
void *addr = NULL;
if (g_pGameConf->GetMemSig(name, &addr) && addr != NULL)
{
call = CreateValveCall(addr, vcalltype, retinfo, params, numParams);
if (call)