diff --git a/Source/pack.cpp b/Source/pack.cpp index 8719424df..ea2d54c95 100644 --- a/Source/pack.cpp +++ b/Source/pack.cpp @@ -495,6 +495,10 @@ bool UnPackNetPlayer(const PlayerNetPack &packed, Player &player) return false; if (player._pILMaxDam != SDL_SwapLE32(packed.pILMaxDam)) return false; + if (player._pMaxHPBase > player.calculateBaseLife()) + return false; + if (player._pMaxManaBase > player.calculateBaseMana()) + return false; return true; }