[facepalm emoji]

git-svn-id: https://svn.eduke32.com/eduke32@6962 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2018-08-02 01:21:19 +00:00
parent e38dc3f674
commit bf043adb73

View file

@ -208,8 +208,8 @@ static void ReadSaveGameHeaders_Internal(void)
g_internalsaves = (menusave_t *)Xrealloc(g_internalsaves, internalsavesize); g_internalsaves = (menusave_t *)Xrealloc(g_internalsaves, internalsavesize);
if (internalsavesize) for (size_t x = 0; x < numfiles; ++x)
g_internalsaves->clear(); g_internalsaves[x].clear();
g_numinternalsaves = 0; g_numinternalsaves = 0;
ReadSaveGameHeaders_CACHE1D(findfiles_default); ReadSaveGameHeaders_CACHE1D(findfiles_default);
@ -228,8 +228,8 @@ static void ReadSaveGameHeaders_Internal(void)
g_menusaves = (menusave_t *)Xrealloc(g_menusaves, menusavesize); g_menusaves = (menusave_t *)Xrealloc(g_menusaves, menusavesize);
if (menusavesize) for (size_t x = 0; x < g_nummenusaves; ++x)
g_menusaves->clear(); g_menusaves[x].clear();
for (size_t x = g_numinternalsaves-1, y = 0; x < g_numinternalsaves; --x) for (size_t x = g_numinternalsaves-1, y = 0; x < g_numinternalsaves; --x)
{ {