Menus: Don't allow loading previous version saves.

git-svn-id: https://svn.eduke32.com/eduke32@6701 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2018-02-26 14:46:40 +00:00
parent 6f7313a46a
commit 5bb5612cba

View file

@ -2221,6 +2221,8 @@ static void Menu_PreDraw(MenuID_t cm, MenuEntry_t *entry, const vec2_t origin)
(int32_t)(8*sizeof(intptr_t))); (int32_t)(8*sizeof(intptr_t)));
mgametext(origin.x + ((31+16)<<16), origin.y + (114<<16), tempbuf); mgametext(origin.x + ((31+16)<<16), origin.y + (114<<16), tempbuf);
#endif #endif
break;
} }
if (savehead.numplayers > 1) if (savehead.numplayers > 1)
@ -2280,6 +2282,8 @@ static void Menu_PreDraw(MenuID_t cm, MenuEntry_t *entry, const vec2_t origin)
(int32_t)(8*sizeof(intptr_t))); (int32_t)(8*sizeof(intptr_t)));
mgametext(origin.x + ((31+16)<<16), origin.y + (114<<16), tempbuf); mgametext(origin.x + ((31+16)<<16), origin.y + (114<<16), tempbuf);
#endif #endif
break;
} }
} }
} }
@ -3840,7 +3844,7 @@ static void Menu_AboutToStartDisplaying(Menu_t * m)
Menu_ReadSaveGameHeaders(); Menu_ReadSaveGameHeaders();
for (size_t i = 0; i < g_nummenusaves; ++i) for (size_t i = 0; i < g_nummenusaves; ++i)
MenuEntry_LookDisabledOnCondition(&ME_LOAD[i], g_menusaves[i].isOldVer); MenuEntry_DisableOnCondition(&ME_LOAD[i], g_menusaves[i].isOldVer);
if (g_quickload && g_quickload->isValid()) if (g_quickload && g_quickload->isValid())
{ {