Browse Source

Share pDiabloKillLevel in UnPackPlayer

pDiabloKillLevel is handled the same so no reason for ifdefing it
pull/888/head
Anders Jenbo 6 years ago
parent
commit
77038ddd77
  1. 3
      Source/pack.cpp

3
Source/pack.cpp

@ -282,12 +282,11 @@ void UnPackPlayer(PkPlayerStruct *pPack, int pnum, BOOL killok)
pPlayer->pDungMsgs2 = 0;
#endif
pPlayer->pLvlLoad = 0;
#ifdef HELLFIRE
pPlayer->pDiabloKillLevel = pPack->pDiabloKillLevel;
#ifdef HELLFIRE
pPlayer->pDifficulty = pPack->pDifficulty;
pPlayer->pDamAcFlags = pPack->pDamAcFlags;
#else
pPlayer->pDiabloKillLevel = pPack->pDiabloKillLevel;
pPlayer->pBattleNet = pPack->pBattleNet;
pPlayer->pManaShield = pPack->pManaShield;
#endif

Loading…
Cancel
Save