mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 11:19:10 +00:00
Fix the rest of the plString::Format calls
This commit is contained in:
@ -335,8 +335,9 @@ void plDispatch::IMsgDispatch()
|
||||
if (plNetObjectDebuggerBase::GetInstance()->IsDebugObject(ko))
|
||||
{
|
||||
hsLogEntry(plNetObjectDebuggerBase::GetInstance()->LogMsg(
|
||||
plString::Format("<RCV> object:%s, GameMessage %s st=%.3f rt=%.3f",
|
||||
ko->GetKeyName().c_str(), msg->ClassName(), hsTimer::GetSysSeconds(), hsTimer::GetSeconds()).c_str()));
|
||||
plFormat("<RCV> object:{}, GameMessage {} st={.3f} rt={.3f}",
|
||||
ko->GetKeyName(), msg->ClassName(), hsTimer::GetSysSeconds(),
|
||||
hsTimer::GetSeconds()).c_str()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -244,7 +244,7 @@ plString plGenericType::GetAsString() const
|
||||
return plFormat("{}", fU);
|
||||
case kFloat :
|
||||
case kDouble :
|
||||
return plString::Format("%f", fType==kDouble?fD:fF);
|
||||
return plFormat("{f}", fType==kDouble ? fD : fF);
|
||||
case kChar :
|
||||
return plFormat("{}", fC);
|
||||
case kAny :
|
||||
|
Reference in New Issue
Block a user