1
0
Fork 0

- don't abort if remote model isn't installed; output missing model's

path, so people know what to install
This commit is contained in:
mfranz 2005-07-15 09:45:57 +00:00
parent 1869b30b58
commit 6776103190

View file

@ -107,9 +107,12 @@ bool MPPlayer::Open(const string &sAddress, const int &iPort, const string &sCal
// If the player is remote then load the model
if (!bLocalPlayer) {
LoadModel();
try {
LoadModel();
} catch (...) {
SG_LOG( SG_NETWORK, SG_ALERT, "Failed to load remote model '" << sModelName << "'." );
return false;
}
}
m_bInitialised = bSuccess;