Remove unused varialbes
This commit is contained in:
parent
dea936a6a9
commit
48a1035d4a
8 changed files with 56 additions and 81 deletions
|
|
@ -105,7 +105,7 @@ void __cdecl MaxSpellsCheat()
|
|||
{
|
||||
for(int i = 1; i < MAX_SPELLS; i++) {
|
||||
if ( spelldata[i].sBookLvl != -1 ) {
|
||||
plr[myplr]._pMemSpells64 |= (__int64)1 << (i - 1);
|
||||
plr[myplr]._pMemSpells |= (__int64)1 << (i - 1);
|
||||
plr[myplr]._pSplLvl[i] = 10;
|
||||
}
|
||||
}
|
||||
|
|
@ -113,7 +113,7 @@ void __cdecl MaxSpellsCheat()
|
|||
|
||||
void __fastcall SetSpellLevelCheat(char spl, int spllvl)
|
||||
{
|
||||
plr[myplr]._pMemSpells64 |= (__int64)1 << (spl - 1);
|
||||
plr[myplr]._pMemSpells |= (__int64)1 << (spl - 1);
|
||||
plr[myplr]._pSplLvl[spl] = spllvl;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue