1
0
Fork 0

Fix incorrectly decompiled code

pull/10/head
galaxyhaxz 2018-06-09 03:22:38 -05:00 committed by GitHub
parent 4482de4f90
commit 51b6c0230b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)) )
{