- Exhumed: Fixed the invulnerability item.

Fixes #137
This commit is contained in:
Christoph Oelckers 2020-10-24 18:03:06 +02:00
parent c82d9d2908
commit ce03813ab1

View file

@ -240,7 +240,7 @@ bool UseHeart(short nPlayer)
// invincibility
bool UseScarab(short nPlayer)
{
if (PlayerList[nPlayer].invincibility > 0 && PlayerList[nPlayer].invincibility < 900)
if (PlayerList[nPlayer].invincibility >= 0 && PlayerList[nPlayer].invincibility < 900)
PlayerList[nPlayer].invincibility = 900;
if (nPlayer == nLocalPlayer)