mirror of
https://github.com/diasurgical/devilution.git
synced 2026-06-20 05:46:12 +00:00
committed by
Robin Eklind
parent
3812287dd5
commit
429ececce0
+3
-1
@@ -95,7 +95,9 @@ void __cdecl TakeGoldCheat()
|
||||
|
||||
void __cdecl MaxSpellsCheat()
|
||||
{
|
||||
for (int i = 1; i < MAX_SPELLS; i++) {
|
||||
int i;
|
||||
|
||||
for (i = 1; i < MAX_SPELLS; i++) {
|
||||
if (spelldata[i].sBookLvl != -1) {
|
||||
plr[myplr]._pMemSpells |= (__int64)1 << (i - 1);
|
||||
plr[myplr]._pSplLvl[i] = 10;
|
||||
|
||||
Reference in New Issue
Block a user