comparison mm7_4.cpp @ 30:4723e86bc51c

Party creation initial fix.
author Nomad
date Thu, 18 Oct 2012 03:21:58 +0200
parents be2066176d89
children fd64b06a39a8 1265125099c7
comparison
equal deleted inserted replaced
29:e62134245ab0 30:4723e86bc51c
5921 pTexture_MAKETOP = &pIcons_LOD->pTextures[pIcons_LOD->LoadTexture("MAKETOP", TEXTURE_16BIT_PALETTE)]; 5921 pTexture_MAKETOP = &pIcons_LOD->pTextures[pIcons_LOD->LoadTexture("MAKETOP", TEXTURE_16BIT_PALETTE)];
5922 uX = 0; 5922 uX = 0;
5923 pTexture_MAKESKY = &pIcons_LOD->pTextures[pIcons_LOD->LoadTexture("MAKESKY", TEXTURE_16BIT_PALETTE)]; 5923 pTexture_MAKESKY = &pIcons_LOD->pTextures[pIcons_LOD->LoadTexture("MAKESKY", TEXTURE_16BIT_PALETTE)];
5924 do 5924 do
5925 { 5925 {
5926 sprintfex(pTmpBuf, "%s01", pPlayerPortraitsNames[uX]); 5926 sprintf(pTmpBuf, "%s01", pPlayerPortraitsNames[uX]);
5927 v1 = pIcons_LOD->LoadTexture(pTmpBuf, TEXTURE_16BIT_PALETTE); 5927 v1 = pIcons_LOD->LoadTexture(pTmpBuf, TEXTURE_16BIT_PALETTE);
5928 v2 = uX * 4; 5928 v2 = uX * 4;
5929 ++uX; 5929 ++uX;
5930 *(Texture **)((char *)pPlayerPortraits + v2) = &pIcons_LOD->pTextures[v1]; 5930 *(Texture **)((char *)pPlayerPortraits + v2) = &pIcons_LOD->pTextures[v1];
5931 } 5931 }