Mercurial > mm7
diff Texture.cpp @ 2378:48dbf99c0f7f
spawn_light_elemental cleaned
author | Ritor1 |
---|---|
date | Mon, 09 Jun 2014 16:26:07 +0600 |
parents | bddcaf5d5db2 |
children | f4af3b203f65 |
line wrap: on
line diff
--- a/Texture.cpp Mon Jun 02 12:31:28 2014 +0600 +++ b/Texture.cpp Mon Jun 09 16:26:07 2014 +0600 @@ -283,22 +283,22 @@ //----- (0044E0ED) -------------------------------------------------------- void TextureFrameTable::LoadAnimationSequenceAndPalettes( signed int uIconID ) - { - TextureFrameTable *v3; // ebx@1 +{ + //TextureFrameTable *v3; // ebx@1 unsigned int i; // edi@3 - v3 = this; + //v3 = this; if ( (uIconID <= this->sNumTextures) && uIconID >= 0 ) { for ( i = uIconID; ; ++i ) { - v3->pTextures[i].uTextureID = pBitmaps_LOD->LoadTexture(v3->pTextures[i].pTextureName, TEXTURE_DEFAULT); + this->pTextures[i].uTextureID = pBitmaps_LOD->LoadTexture(this->pTextures[i].pTextureName, TEXTURE_DEFAULT); - if (v3->pTextures[i].uTextureID != -1) - pBitmaps_LOD->pTextures[v3->pTextures[i].uTextureID].palette_id2 = pPaletteManager->LoadPalette(pBitmaps_LOD->pTextures[v3->pTextures[i].uTextureID].palette_id1); + if (this->pTextures[i].uTextureID != -1) + pBitmaps_LOD->pTextures[this->pTextures[i].uTextureID].palette_id2 = pPaletteManager->LoadPalette(pBitmaps_LOD->pTextures[this->pTextures[i].uTextureID].palette_id1); //result = (unsigned int)v3->pTextures; //if ( !(*(char *)(result + i * 20 + 18) & 1) ) - if( v3->pTextures[i].uFlags & 1) + if( this->pTextures[i].uFlags & 1) break; } }