comparison mm7_1.cpp @ 39:c3a02d80c84c

no skill screen crash
author zipi
date Sun, 20 Jan 2013 19:32:08 +0000
parents a9e9c6989d04
children fc3016f5a07a
comparison
equal deleted inserted replaced
38:c261e0eea3c9 39:c3a02d80c84c
1196 break; 1196 break;
1197 case WINDOW_CharacterWindow_Skills: // skills 1197 case WINDOW_CharacterWindow_Skills: // skills
1198 if ( dword_507CC0 != uActiveCharacter ) 1198 if ( dword_507CC0 != uActiveCharacter )
1199 { 1199 {
1200 sub_4196A0(); 1200 sub_4196A0();
1201 sub_419401(); 1201 CharacterUI_SkillScreen_Draw();
1202 } 1202 }
1203 sub_419379(); 1203 sub_419379();
1204 CharacterUI_SkillsTab_Draw(v1); 1204 CharacterUI_SkillsTab_Draw(v1);
1205 v6 = pIcons_LOD->LoadTexture("ib-cd2-d", TEXTURE_16BIT_PALETTE); 1205 v6 = pIcons_LOD->LoadTexture("ib-cd2-d", TEXTURE_16BIT_PALETTE);
1206 pTexture = (Texture *)(v6 != -1 ? (int)&pIcons_LOD->pTextures[v6] : 0); 1206 pTexture = (Texture *)(v6 != -1 ? (int)&pIcons_LOD->pTextures[v6] : 0);