Fixed a bug noted by mahnsawce

This commit is contained in:
David Anderson
2004-08-13 10:46:13 +00:00
parent 1efbb0f65e
commit 58f13e887c
2 changed files with 3 additions and 2 deletions

View File

@@ -628,6 +628,8 @@ const char *MNF_GetAmxScriptName(int id)
while (iter && id--)
++iter;
if ((*iter) == NULL)
return NULL;
return (*iter).getName();
}