- made adjustments to the texture loading code to account for the recent changes to handle long texture names.

This commit is contained in:
Christoph Oelckers 2014-05-15 19:27:22 +02:00
commit 03d4f23a6e
5 changed files with 14 additions and 49 deletions

View file

@ -855,7 +855,7 @@ void FMaterial::Bind(int cm, int clampmode, int translation, int overrideshader)
FTexture *layer;
if (mTextureLayers[i].animated)
{
FTextureID id = mTextureLayers[i].texture->GetID();
FTextureID id = mTextureLayers[i].texture->id;
layer = TexMan(id);
ValidateSysTexture(layer, false);
}