parent
3812287dd5
commit
429ececce0
4 changed files with 18 additions and 23 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue