mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-25 09:33:50 +00:00
Fix: Some compilers do not auto-cast String and Path classes to (char *).
This commit is contained in:
parent
e6673eaf30
commit
9f2d44966e
2 changed files with 2 additions and 2 deletions
|
|
@ -587,7 +587,7 @@ bool PlayerData::preload(bool server, String &errorStr)
|
|||
|
||||
if (!fileRef)
|
||||
{
|
||||
errorStr = String::ToString("PlayerData: Mounted image %d loading failed, shape \"%s\" is not found.",i,mShapeFP[i].getPath());
|
||||
errorStr = String::ToString("PlayerData: Mounted image %d loading failed, shape \"%s\" is not found.",i,mShapeFP[i].getPath().getFullPath().c_str());
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue