mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 13:55:36 +03:00
REALLY fixed bug this time (thanks fsfod and mahnsawce)
This commit is contained in:
parent
f12680f179
commit
9f1bb9345c
@ -619,7 +619,7 @@ AMX *MNF_GetAmxScript(int id)
|
||||
while (iter && id--)
|
||||
++iter;
|
||||
|
||||
if ((*iter) == NULL)
|
||||
if (iter == NULL)
|
||||
return NULL;
|
||||
return (*iter).getAMX();
|
||||
}
|
||||
@ -630,7 +630,7 @@ const char *MNF_GetAmxScriptName(int id)
|
||||
while (iter && id--)
|
||||
++iter;
|
||||
|
||||
if ((*iter) == NULL)
|
||||
if (iter == NULL)
|
||||
return NULL;
|
||||
return (*iter).getName();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user