comparison mm7_6.cpp @ 1729:f44b6e02e81c

pop-up window in character(paperdill) window, alchemy
author Ritor1
date Wed, 25 Sep 2013 17:29:14 +0600
parents 8251e59fd7c1
children 845a6503f55c
comparison
equal deleted inserted replaced
1728:7b6b4ce8da76 1729:f44b6e02e81c
1543 pSpellObject.spell_target_pid = 0; 1543 pSpellObject.spell_target_pid = 0;
1544 if ( !(pSpellObject.uAttributes & 0x10) ) 1544 if ( !(pSpellObject.uAttributes & 0x10) )
1545 { 1545 {
1546 if ( pItemsTable->uAllItemsCount ) 1546 if ( pItemsTable->uAllItemsCount )
1547 { 1547 {
1548 for ( uint i = 0; i < pItemsTable->uAllItemsCount; ++i ) 1548 for ( uint i = 1; i < pItemsTable->uAllItemsCount; ++i )
1549 { 1549 {
1550 if ( pItemsTable->pItems[i].uSpriteID == uSpriteID ) 1550 if ( pItemsTable->pItems[i].uSpriteID == uSpriteID )
1551 pSpellObject.stru_24.uItemID = i; 1551 pSpellObject.stru_24.uItemID = i;
1552 } 1552 }
1553 } 1553 }