ValidatePlayer (#318)

* ValidatePlayer

* Add MAX_SPELLS define
This commit is contained in:
Anders Jenbo 2018-09-23 09:40:05 +02:00 committed by Robin Eklind
commit db77557dce
11 changed files with 58 additions and 87 deletions

View file

@ -105,7 +105,7 @@ void __cdecl MaxSpellsCheat()
{
int i; // ebp
for(i = 1; i < 37; i++)
for(i = 1; i < MAX_SPELLS; i++)
{
if ( spelldata[i].sBookLvl != -1 )
{