mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-21 12:49:10 +00:00
Deprecate and remove xtl::format in favor of plString::Format
This commit is contained in:
@ -250,15 +250,15 @@ MSG_HANDLER_DEFN(plNetClientMsgHandler,plNetMsgSDLState)
|
||||
plStateDataRecord* sdRec = des ? new plStateDataRecord(des) : nil;
|
||||
if (!sdRec || sdRec->GetDescriptor()->GetVersion()!=ver)
|
||||
{
|
||||
std::string err;
|
||||
plString err;
|
||||
if (!sdRec)
|
||||
err = xtl::format( "SDL descriptor %s missing, v=%d", descName.c_str(), ver);
|
||||
err = plString::Format( "SDL descriptor %s missing, v=%d", descName.c_str(), ver);
|
||||
else
|
||||
err = xtl::format( "SDL descriptor %s, version mismatch, server v=%d, client v=%d",
|
||||
err = plString::Format( "SDL descriptor %s, version mismatch, server v=%d, client v=%d",
|
||||
descName.c_str(), ver, sdRec->GetDescriptor()->GetVersion());
|
||||
|
||||
hsAssert(false, err.c_str());
|
||||
nc->ErrorMsg(const_cast<char*>(err.c_str()));
|
||||
nc->ErrorMsg(err.c_str());
|
||||
|
||||
// Post Quit message
|
||||
nc->QueueDisableNet(true, "SDL Desc Problem");
|
||||
|
Reference in New Issue
Block a user