Fix 'some resources need to be downloaded' menu mistakenly always appearing (Thanks TomCube2)

This commit is contained in:
UnknownShadow200 2023-07-11 11:37:30 +10:00
parent 4b8599b235
commit b5f0076d46

View File

@ -969,6 +969,8 @@ static void MCCTextures_CheckExistence(void) {
static void MCCTextures_CountMissing(void) {
int i;
if (allZipEntriesExist) return;
numDefaultZipSources = Array_Elems(defaultZipSources);
/* old gold texture only needed in 0.0.23 and earlier */
if (Game_Version.Version > VERSION_0023) numDefaultZipSources--;