mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-20 04:09:16 +00:00
Convert many of the now-deprecated plString::Format calls to plFormat
This commit is contained in:
@ -443,7 +443,7 @@ void plAvBrainCritter::DumpToDebugDisplay(int& x, int& y, int lineHeight, plDebu
|
||||
// extract the name from the behavior running
|
||||
plString mode = "Mode: Unknown";
|
||||
if (fBehaviors[fCurMode])
|
||||
mode = plString::Format("Mode: %s", ((CritterBehavior*)(fBehaviors[fCurMode]))->Name().c_str());
|
||||
mode = plFormat("Mode: {}", ((CritterBehavior*)(fBehaviors[fCurMode]))->Name());
|
||||
|
||||
// draw it
|
||||
debugTxt.DrawString(x, y, mode);
|
||||
|
Reference in New Issue
Block a user