From 4a866b32db1321083e825c3e5e6855355cc08884 Mon Sep 17 00:00:00 2001 From: mewmew Date: Fri, 8 Jun 2018 11:42:23 +0200 Subject: [PATCH] Fix build issue in debug.cpp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Source/debug.cpp:124:41: error: unable to find numeric literal operator ‘operator""i64’ *(_QWORD *)plr[myplr]._pMemSpells |= 1i64 << (i - 1); --- Source/debug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/debug.cpp b/Source/debug.cpp index 60c6aec..e040232 100644 --- a/Source/debug.cpp +++ b/Source/debug.cpp @@ -121,7 +121,7 @@ void __cdecl MaxSpellsCheat() { if ( spelldata[i].sBookLvl != -1 ) { - *(_QWORD *)plr[myplr]._pMemSpells |= 1i64 << (i - 1); + *(_QWORD *)plr[myplr]._pMemSpells |= 1 << (i - 1); plr[myplr]._pSplLvl[i] = 10; } }