Fix: Some compilers do not auto-cast String and Path classes to (char *).

This commit is contained in:
bank 2014-05-01 12:51:08 +04:00
parent e6673eaf30
commit 9f2d44966e
2 changed files with 2 additions and 2 deletions

View file

@ -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;
}