1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-17 10:52:46 +00:00

Provide some plFormat samples with floats/doubles

This commit is contained in:
2014-05-25 14:34:00 -07:00
parent d15f1557b6
commit 1a0420127c
4 changed files with 12 additions and 12 deletions

View File

@ -257,10 +257,10 @@ static bool DumpSpecificMsgInfo(plMessage* msg, plString& info)
PrintKIType(kGZFlashUpdate); // flash an update without saving (for animation of GZFill in)
PrintKIType(kNoCommand);
info = plString::Format("Type: %s Str: %s User: %s(%d) Delay: %f Int: %d",
info = plFormat("Type: {} Str: {} User: {}({}) Delay: {} Int: {}",
typeName,
kiMsg->GetString().c_str("(nil)"),
kiMsg->GetUser().c_str("(nil)"),
kiMsg->GetString(),
kiMsg->GetUser(),
kiMsg->GetPlayerID(),
kiMsg->GetDelay(),
kiMsg->GetIntValue());