Browse Source

Fix incorrectly decompiled code

pull/4/head
galaxyhaxz 8 years ago committed by GitHub
parent
commit
51b6c0230b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Source/control.cpp

2
Source/control.cpp

@ -2798,7 +2798,7 @@ void __cdecl DrawSpellBook()
v1 = plr[myplr]._pISpells[1] | plr[myplr]._pMemSpells[1] | plr[myplr]._pAblSpells[1];
do
{
v2 = *(&attribute_inc_rects[3].h + v9 + 7 * sbooktab);
v2 = SpellPages[0][v9 + 7 * sbooktab - 1]; // *(&attribute_inc_rects[3].h + v9 + 7 * sbooktab); /* check */
if ( v2 != -1
&& v1 & ((unsigned __int64)((__int64)1 << ((unsigned char)v2 - 1)) >> 32) | v0 & (unsigned int)((__int64)1 << ((unsigned char)v2 - 1)) )
{

Loading…
Cancel
Save