mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-14 02:27:40 -04:00
Update StartUp in initial batch
ONE PATCH! This commit brings us to half of the patching goal: on launch of the client, we only show ONE "Updating..." message before we enter the game proper. Go us!
This commit is contained in:
@ -84,6 +84,7 @@ std::vector<plString> plManifest::EssentialGameManifests()
|
||||
mfs.push_back("GlobalClothing");
|
||||
mfs.push_back("GlobalMarkers");
|
||||
mfs.push_back("GUI");
|
||||
mfs.push_back("StartUp");
|
||||
|
||||
return mfs;
|
||||
}
|
||||
|
@ -67,7 +67,6 @@ namespace plManifest
|
||||
|
||||
/** Get a vector containing all manifests the game requires to initialize. */
|
||||
std::vector<plString> EssentialGameManifests();
|
||||
|
||||
}
|
||||
|
||||
#endif // _plManifests_inc_
|
||||
|
@ -224,13 +224,18 @@ void plNCAgeJoiner::Start () {
|
||||
|
||||
// if we're linking to startup then set the OfflineAge flag
|
||||
// so we by-pass the game server
|
||||
if (StrLen(age.ageDatasetName) == 0 || StrCmpI(age.ageDatasetName, "StartUp") == 0)
|
||||
if (StrLen(age.ageDatasetName) == 0 || StrCmpI(age.ageDatasetName, "StartUp") == 0) {
|
||||
nc->SetFlagsBit(plNetClientApp::kLinkingToOfflineAge);
|
||||
else
|
||||
|
||||
// no need to update if we're not using a GameSrv
|
||||
plgDispatch::MsgSend(new plResPatcherMsg());
|
||||
} else {
|
||||
nc->SetFlagsBit(plNetClientApp::kLinkingToOfflineAge, false);
|
||||
|
||||
plAgeLoader* al = plAgeLoader::GetInstance();
|
||||
al->UpdateAge(age.ageDatasetName);
|
||||
// we only need to update the age if we're using a GameSrv
|
||||
plAgeLoader* al = plAgeLoader::GetInstance();
|
||||
al->UpdateAge(age.ageDatasetName);
|
||||
}
|
||||
}
|
||||
|
||||
//============================================================================
|
||||
|
Reference in New Issue
Block a user