comparison Player.cpp @ 318:981fbe2da232

spellbook spells fixed
author zipi
date Tue, 19 Feb 2013 23:49:35 +0000
parents e41fe9cf3613
children ce39b96acf5c
comparison
equal deleted inserted replaced
317:e41fe9cf3613 318:981fbe2da232
7540 ShowStatusBarString(v23, 2u); 7540 ShowStatusBarString(v23, 2u);
7541 v4 = 0; 7541 v4 = 0;
7542 goto LABEL_92; 7542 goto LABEL_92;
7543 } 7543 }
7544 v15 = pParty->pPickedItem.uItemID - 400; 7544 v15 = pParty->pPickedItem.uItemID - 400;
7545 v72 = (char *)&v3->pConditions[0] + pParty->pPickedItem.uItemID + 2; 7545 v72 = (char *)&v3->spellbook.pFireSpellbook+pParty->pPickedItem.uItemID-400;//(char *)&v3->pConditions[0] + pParty->pPickedItem.uItemID + 2;
7546 if ( *v72 ) 7546 if ( *v72 )
7547 { 7547 {
7548 v66 = pParty->pPickedItem.GetDisplayName(); 7548 v66 = pParty->pPickedItem.GetDisplayName();
7549 v57 = pGlobalTXT_LocalizationStrings[380]; 7549 v57 = pGlobalTXT_LocalizationStrings[380];
7550 LABEL_72: 7550 LABEL_72: