Added includes and some other mysterious changes

This commit is contained in:
Steve Dudenhoeffer
2004-08-22 03:58:31 +00:00
parent 51caf26399
commit 3a78aff06d
5 changed files with 474 additions and 9 deletions

View File

@@ -427,7 +427,7 @@ static cell AMX_NATIVE_CALL register_forward(AMX *amx, cell *params)
int func = params[1];
// You originally had both post coming from params[2] AND the function name. I've moved post to 3.
int post = params[3];
if (func > ENGFUNC_NUM || func < 1)
if (func > FM_AllowLagCompensation || func < 1)
{
MF_RaiseAmxError(amx, AMX_ERR_NATIVE);
return 0;