CheckSBook cleanup
This commit is contained in:
parent
f5ab247c42
commit
af76de2563
1 changed files with 1 additions and 1 deletions
|
|
@ -2464,8 +2464,8 @@ void CheckSBook()
|
|||
unsigned __int64 spl;
|
||||
|
||||
if (MouseX >= RIGHT_PANEL + 11 && MouseX < RIGHT_PANEL + 48 && MouseY >= 18 && MouseY < 314) {
|
||||
spl = plr[myplr]._pMemSpells | plr[myplr]._pISpells | plr[myplr]._pAblSpells;
|
||||
sn = SpellPages[sbooktab][(MouseY - 18) / 43];
|
||||
spl = plr[myplr]._pMemSpells | plr[myplr]._pISpells | plr[myplr]._pAblSpells;
|
||||
if (sn != -1 && spl & (__int64)1 << (sn - 1)) {
|
||||
st = RSPLTYPE_SPELL;
|
||||
if (plr[myplr]._pISpells & (__int64)1 << (sn - 1)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue