mirror of
https://github.com/diasurgical/devilution.git
synced 2026-06-20 05:46:12 +00:00
Clean ups
This commit is contained in:
+6
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user