Fix Gv_GetArrayOrStruct() error message

git-svn-id: https://svn.eduke32.com/eduke32@7228 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2018-11-18 18:14:00 +00:00
parent 54bc64ea10
commit 6da9b537e5

View file

@ -732,7 +732,7 @@ static int __fastcall Gv_GetArrayOrStruct(int gameVar, int spriteNum, int const
return returnValue;
badindex:
CON_ERRPRINTF("Gv_GetVar(): invalid index %d for \"%s\"\n", spriteNum,
CON_ERRPRINTF("Gv_GetArrayOrStruct(): invalid index %d for \"%s\"\n", spriteNum,
(returnValue & GV_FLAG_ARRAY) ? aGameArrays[gameVar].szLabel : aGameVars[gameVar].szLabel);
return -1;
}