|
|
@ -1235,9 +1235,8 @@ void plNetClientMgr::IDisableNet () { |
|
|
|
if (!GetFlagsBit(plNetClientApp::kPlayingGame)) |
|
|
|
if (!GetFlagsBit(plNetClientApp::kPlayingGame)) |
|
|
|
{ |
|
|
|
{ |
|
|
|
// KI may not be loaded
|
|
|
|
// KI may not be loaded
|
|
|
|
char title[256]; |
|
|
|
plString title = plString::Format("%s Error", plProduct::CoreName().c_str()); |
|
|
|
snprintf(title, arrsize(title), "%s Error", plProduct::CoreName().c_str()); |
|
|
|
hsMessageBox(fDisableMsg->str, title.c_str(), hsMessageBoxNormal, hsMessageBoxIconError ); |
|
|
|
hsMessageBox(fDisableMsg->str, title, hsMessageBoxNormal, hsMessageBoxIconError ); |
|
|
|
|
|
|
|
plClientMsg *quitMsg = new plClientMsg(plClientMsg::kQuit); |
|
|
|
plClientMsg *quitMsg = new plClientMsg(plClientMsg::kQuit); |
|
|
|
quitMsg->Send(hsgResMgr::ResMgr()->FindKey(kClient_KEY)); |
|
|
|
quitMsg->Send(hsgResMgr::ResMgr()->FindKey(kClient_KEY)); |
|
|
|
} |
|
|
|
} |
|
|
|