Browse Source

Fix PkPlayerStruct size

pull/882/head
Anders Jenbo 6 years ago
parent
commit
f6b178a965
  1. 6
      structs.h

6
structs.h

@ -1479,7 +1479,7 @@ typedef struct PkPlayerStruct {
int pMaxHPBase;
int pManaBase;
int pMaxManaBase;
char pSplLvl[MAX_SPELLS];
char pSplLvl[37]; // Should be MAX_SPELLS but set to 37 to make save games compatible
unsigned __int64 pMemSpells;
PkItemStruct InvBody[NUM_INVLOC];
PkItemStruct InvList[NUM_INV_GRID_ELEM];
@ -1497,7 +1497,9 @@ typedef struct PkPlayerStruct {
BOOLEAN pManaShield;
char bReserved[3];
short wReflection;
short wReserved[7];
short wReserved2;
char pSplLvl2[10]; // Hellfire spells
short wReserved8;
DWORD pDiabloKillLevel;
int pDifficulty;
int pDamAcFlags;

Loading…
Cancel
Save