Fixed vtable for TFC and NS

This commit is contained in:
Steve Dudenhoeffer
2007-05-11 16:54:26 +00:00
parent 1081e84981
commit 9b0ed67c9c
2 changed files with 163 additions and 162 deletions

View File

@ -666,7 +666,7 @@ public __fatal_ham_error(Ham:id, HamError:err, const reason[])
new func=get_func_id("HamFilter", -1);
new bool:fail=true;
if (callfunc_begin_i(func, -1)==1)
if (func != -1 && callfunc_begin_i(func, -1)==1)
{
callfunc_push_int(_:id);
callfunc_push_int(_:err);