Fixed a bug noted by mahnsawce

This commit is contained in:
David Anderson 2004-08-13 11:05:38 +00:00
parent 58f13e887c
commit f12680f179

View File

@ -619,6 +619,8 @@ AMX *MNF_GetAmxScript(int id)
while (iter && id--)
++iter;
if ((*iter) == NULL)
return NULL;
return (*iter).getAMX();
}