compile error

This commit is contained in:
rdb 2013-10-26 08:49:51 +00:00
parent 3841accba9
commit 2b97fccd4d

View File

@ -104,9 +104,9 @@ MaxEggTex *MaxEggLoader::GetTex(const Filename &fn)
BitmapTex *bmt = NewDefaultBitmapTex(); BitmapTex *bmt = NewDefaultBitmapTex();
#ifdef _UNICODE #ifdef _UNICODE
bmt->SetMapName(fn.to_os_specific_w().c_str()); bmt->SetMapName((TCHAR*) fn.to_os_specific_w().c_str());
#else #else
bmt->SetMapName(fn.to_os_specific().c_str()); bmt->SetMapName((char*) fn.to_os_specific().c_str());
#endif #endif
StdMat *mat = NewDefaultStdMat(); StdMat *mat = NewDefaultStdMat();