1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-18 19:29:09 +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

@ -1566,7 +1566,7 @@ void cyMisc::FogSetDefExp2(float end, float density)
void cyMisc::SetClearColor(float red, float green, float blue)
{
// do this command via the console to keep the maxplugins from barfing
plString command = plString::Format("Graphics.Renderer.SetClearColor %f %f %f", red, green, blue);
plString command = plFormat("Graphics.Renderer.SetClearColor {f} {f} {f}", red, green, blue);
// create message to send to the console
plControlEventMsg* pMsg = new plControlEventMsg;