mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 02:51:27 +00:00
Fix the rest of the plString::Format calls
This commit is contained in:
@ -279,7 +279,7 @@ bool plNetClientMgr::Log(const char* str) const
|
||||
return true;
|
||||
|
||||
// prepend raw time
|
||||
plString buf2 = plString::Format("%.2f %s", hsTimer::GetSeconds(), ProcessTab(str));
|
||||
plString buf2 = plFormat("{.2f} {}", hsTimer::GetSeconds(), ProcessTab(str));
|
||||
|
||||
if ( GetConsoleOutput() )
|
||||
hsStatusMessage(buf2.c_str());
|
||||
|
@ -393,10 +393,10 @@ int plNetClientMgr::ISendGameMessage(plMessage* msg)
|
||||
{
|
||||
#if 0
|
||||
hsLogEntry(plNetObjectDebugger::GetInstance()->LogMsg(
|
||||
plString::Format("<SND> object:%s, rcvr %s %s",
|
||||
msg->GetSender().GetKeyName().c_str(),
|
||||
msg->GetNumReceivers() ? msg->GetReceiver(0)->GetName().c_str() : "?",
|
||||
netMsgWrap->AsStdString().c_str()).c_str()));
|
||||
plFormat("<SND> object:{}, rcvr {} {}",
|
||||
msg->GetSender().GetKeyName(),
|
||||
msg->GetNumReceivers() ? msg->GetReceiver(0)->GetName() : "?",
|
||||
netMsgWrap->AsStdString()).c_str()));
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user