variable is named cnt and not i

This commit is contained in:
thepikachugamer 2023-09-23 18:15:23 -05:00 committed by GitHub
parent dc64817595
commit 3d431dc192
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1147,7 +1147,7 @@ s32 Wad_Uninstall(FILE *fp)
/* Delete all tickets */
for (cnt = 0; cnt < viewCnt; cnt++) {
memcpy(&view, viewData + i, sizeof(tikview));
memcpy(&view, viewData + cnt, sizeof(tikview));
ret = ES_DeleteTicket(&view);
if (ret < 0)
break;