Usunięte prawie wszystkie AnsiString oprócz zapisu e3d.

This commit is contained in:
firleju
2016-10-21 22:41:31 +02:00
parent 167b1e3a8d
commit 89756e81a1
3 changed files with 10 additions and 10 deletions

View File

@@ -427,7 +427,7 @@ int TSubModel::Load(cParser &parser, TModel3d *Model, int Pos, bool dynamic)
if (texture.find_first_of("/\\") == texture.npos)
texture.insert(0, Global::asCurrentTexturePath.c_str());
TextureID = TTexturesManager::GetTextureID(
szTexturePath, Global::asCurrentTexturePath.c_str(), texture);
szTexturePath, const_cast<char*>(Global::asCurrentTexturePath.c_str()), texture);
// TexAlpha=TTexturesManager::GetAlpha(TextureID);
// iFlags|=TexAlpha?0x20:0x10; //0x10-nieprzezroczysta, 0x20-przezroczysta
if (Opacity < 1.0) // przezroczystoϾ z tekstury brana tylko dla Opacity