fix Age of Empires 2: Definitive Edition

this game expects the current app to exist as a owned DLC. if not true, the game will only load the "Return of Rome" game mode, if that DLC is owned, or load the base game with most options disabled if it is not
This commit is contained in:
bitsynth 2024-03-16 21:45:23 +00:00 committed by otavepto
parent 6611c73448
commit 5a7fa86310

View File

@ -93,7 +93,7 @@ bool Steam_Apps::BIsDlcInstalled( AppId_t appID )
std::lock_guard<std::recursive_mutex> lock(global_mutex); std::lock_guard<std::recursive_mutex> lock(global_mutex);
if (appID == 0) return true; if (appID == 0) return true;
if (appID == UINT32_MAX) return false; // check Steam_Apps::BIsAppInstalled() if (appID == UINT32_MAX) return false; // check Steam_Apps::BIsAppInstalled()
if (appID == settings->get_local_game_id().AppID()) return false; //TODO is this correct? if (appID == settings->get_local_game_id().AppID()) return true; //TODO is this correct?
return settings->hasDLC(appID); return settings->hasDLC(appID);
} }