mirror of
https://github.com/td512/re3.git
synced 2026-01-29 18:10:52 +00:00
Don't show menu map and new languages if gamefiles isn't copied
This commit is contained in:
@@ -3655,7 +3655,13 @@ CMenuManager::LoadAllTextures()
|
||||
m_aMenuSprites[i].SetAddressing(rwTEXTUREADDRESSBORDER);
|
||||
}
|
||||
#ifdef MENU_MAP
|
||||
static bool menuOptionAdded = false;
|
||||
for (int i = 0; i < ARRAY_SIZE(MapFilenames); i++) {
|
||||
if (!menuOptionAdded && RwTextureRead(MapFilenames[i][0], MapFilenames[i][1])) {
|
||||
FrontendOptionSetCursor(MENUPAGE_PAUSE_MENU, 2, false);
|
||||
FrontendOptionAddBuiltinAction("FEG_MAP", MENUACTION_CHANGEMENU, MENUPAGE_MAP, SAVESLOT_NONE);
|
||||
menuOptionAdded = true;
|
||||
}
|
||||
m_aMapSprites[i].SetTexture(MapFilenames[i][0], MapFilenames[i][1]);
|
||||
m_aMapSprites[i].SetAddressing(rwTEXTUREADDRESSBORDER);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user