comparison GUIWindow.cpp @ 142:8b8fd4d83fdc

Various things here and there
author Nomad
date Tue, 12 Feb 2013 06:28:08 +0200
parents 9b0d651821f1
children 9abdd40a107b
comparison
equal deleted inserted replaced
141:cca78efb377e 142:8b8fd4d83fdc
976 pPlayer = pPlayers[uActiveCharacter]; 976 pPlayer = pPlayers[uActiveCharacter];
977 pWindow = this; 977 pWindow = this;
978 LoadSpellbook(pPlayer->pNumSpellBookPage); 978 LoadSpellbook(pPlayer->pNumSpellBookPage);
979 v3 = 0; 979 v3 = 0;
980 a2 = 0; 980 a2 = 0;
981 v7 = (int)(&pPlayer->spellbook.pFireSpellbook + pPlayer->pNumSpellBookPage); 981 v7 = (int)&pPlayer->spellbook.pChapters[pPlayer->pNumSpellBookPage];
982 do 982 do
983 { 983 {
984 if ( *(char *)(v7 + v3) ) 984 if ( *(char *)(v7 + v3) )
985 { 985 {
986 v4 = 2 * (12 * pPlayer->pNumSpellBookPage + (unsigned __int8)*(&byte_4E2431[12 * pPlayer->pNumSpellBookPage] + v3)); 986 v4 = 2 * (12 * pPlayer->pNumSpellBookPage + (unsigned __int8)*(&byte_4E2431[12 * pPlayer->pNumSpellBookPage] + v3));