mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-27 09:20:51 +00:00
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:
parent
6f7313a46a
commit
5bb5612cba
1 changed files with 5 additions and 1 deletions
|
@ -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())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue