Added unhooking of virtual tables at map change.

Removed some more debugging output.
This commit is contained in:
Steve Dudenhoeffer
2007-05-04 14:56:57 +00:00
parent 0ac5ce46a7
commit fb5e7dbfdb
6 changed files with 37 additions and 8 deletions

View File

@ -174,7 +174,6 @@ static cell AMX_NATIVE_CALL RegisterHam(AMX *amx, cell *params)
// Don't fail the plugin if this fails, just emit a normal error
int fwd=hooklist[func].makefunc(amx, function);
printf("\n\n----> FORWARD = %d\n\n\n",fwd);
if (fwd == -1)
{
MF_LogError(amx, AMX_ERR_NATIVE, "Function %s not found.", function);