Clean ups
This commit is contained in:
parent
2467a982a1
commit
c7b32ec4e4
6 changed files with 14 additions and 9 deletions
|
|
@ -3514,7 +3514,7 @@ void OperateShrine(int pnum, int i, int sType)
|
|||
DWORD lv, t;
|
||||
int xx, yy;
|
||||
int v1, v2, v3, v4;
|
||||
unsigned __int64 spell;
|
||||
unsigned __int64 spell, spells;
|
||||
|
||||
if (dropGoldFlag) {
|
||||
dropGoldFlag = FALSE;
|
||||
|
|
@ -3745,8 +3745,13 @@ void OperateShrine(int pnum, int i, int sType)
|
|||
return;
|
||||
cnt = 0;
|
||||
spell = 1;
|
||||
spells = plr[pnum]._pMemSpells;
|
||||
for (j = 0; j < MAX_SPELLS; j++) {
|
||||
#ifdef HELLFIRE
|
||||
if (spell & plr[pnum]._pMemSpells)
|
||||
#else
|
||||
if (spell & spells)
|
||||
#endif
|
||||
cnt++;
|
||||
spell <<= 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue