mirror of
https://github.com/libretro/devilutionX.git
synced 2026-11-13 04:34:45 -10:00
Clean ups
This commit is contained in:
1 parent
2467a982a1
commit
c7b32ec4e4
6 files changed
+14
-9
No files matched your search
+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