fixed registerfuncex never actually registering

fixed requestfunc returning null when not querying
This commit is contained in:
David Anderson 2006-06-03 23:14:09 +00:00
parent 3a7d291513
commit 5522778aed

View File

@ -1670,6 +1670,8 @@ void *MNF_RegisterFunctionEx(void *pfn, const char *description)
}
}
MNF_RegisterFunction(pfn, description);
return NULL;
}
@ -1865,11 +1867,6 @@ void *Module_ReqFnptr(const char *funcName)
// code
// ^---- really? wow!
if (!g_CurrentlyCalledModule)
{
return NULL;
}
g_LastRequestedFunc = funcName;
CList<func_s, const char *>::iterator iter;