mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
Convert many of the now-deprecated plString::Format calls to plFormat
This commit is contained in:
@ -62,7 +62,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
|
||||
plProgressMgr* plProgressMgr::fManager = nullptr;
|
||||
|
||||
#define LOADING_RES "xLoading_Linking.%02d.png"
|
||||
#define LOADING_RES_COUNT 18
|
||||
|
||||
plString plProgressMgr::fImageRotation[LOADING_RES_COUNT];
|
||||
@ -83,7 +82,7 @@ plProgressMgr::plProgressMgr()
|
||||
|
||||
// Fill array with pre-computed loading frame IDs
|
||||
for (int i=0; i < LOADING_RES_COUNT; i++)
|
||||
fImageRotation[i] = plString::Format(LOADING_RES, i);
|
||||
fImageRotation[i] = plFormat("xLoading_Linking.{_02}.png", i);
|
||||
}
|
||||
|
||||
plProgressMgr::~plProgressMgr()
|
||||
|
Reference in New Issue
Block a user