git-svn-id: https://svn.eduke32.com/eduke32@1027 1a8010ca-5511-0410-912e-c29ae57300e0

This commit is contained in:
terminx 2008-08-25 02:35:15 +00:00
parent 8fddaf82a3
commit 6dbf04a6fe

View file

@ -423,7 +423,8 @@ int AddGameArray(const char *pszLabel, int asize)
initprintf("%s:%d: error: array name `%s' exceeds limit of %d characters.\n",compilefile,line_number,pszLabel, MAXARRAYLABEL);
return 0;
}
if (HASH_find(&arrayH,pszLabel)>=0 && !aGameArrays[i].bReset)
i = HASH_find(&arrayH,pszLabel);
if (i >=0 && !aGameArrays[i].bReset)
{
// found it it's a duplicate in error
warning++;