1
0
Fork 0

Fix build issue in debug.cpp

Source/debug.cpp:124:41: error: unable to find numeric literal operator ‘operator""i64’
    *(_QWORD *)plr[myplr]._pMemSpells |= 1i64 << (i - 1);
pull/7/head
mewmew 2018-06-08 11:42:23 +02:00
parent f5f76f8b8a
commit 4a866b32db
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ void __cdecl MaxSpellsCheat()
{ {
if ( spelldata[i].sBookLvl != -1 ) if ( spelldata[i].sBookLvl != -1 )
{ {
*(_QWORD *)plr[myplr]._pMemSpells |= 1i64 << (i - 1); *(_QWORD *)plr[myplr]._pMemSpells |= 1 << (i - 1);
plr[myplr]._pSplLvl[i] = 10; plr[myplr]._pSplLvl[i] = 10;
} }
} }