Browse Source

Add missing bit to UnPackPlayer

Ther is still a small diff, but should be functinoally identical
pull/888/head
Anders Jenbo 6 years ago
parent
commit
bd5c7233d4
  1. 7
      Source/pack.cpp

7
Source/pack.cpp

@ -273,11 +273,16 @@ void UnPackPlayer(PkPlayerStruct *pPack, int pnum, BOOL killok)
}
CalcPlrInv(pnum, FALSE);
#ifdef HELLFIRE
pPlayer->wReflection = pPack->wReflection;
#endif
pPlayer->pTownWarps = 0;
pPlayer->pDungMsgs = 0;
#ifdef HELLFIRE
pPlayer->pDungMsgs2 = 0;
#endif
pPlayer->pLvlLoad = 0;
#ifdef HELLFIRE
pPlayer->wReflection = pPack->wReflection;
pPlayer->pDiabloKillLevel = pPack->pDiabloKillLevel;
pPlayer->pDifficulty = pPack->pDifficulty;
pPlayer->pDamAcFlags = pPack->pDamAcFlags;

Loading…
Cancel
Save