From ce03813ab1a9116a679856f3f2c0358840599748 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 24 Oct 2020 18:03:06 +0200 Subject: [PATCH] - Exhumed: Fixed the invulnerability item. Fixes #137 --- source/exhumed/src/items.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/exhumed/src/items.cpp b/source/exhumed/src/items.cpp index 34fc84910..39b80dbb5 100644 --- a/source/exhumed/src/items.cpp +++ b/source/exhumed/src/items.cpp @@ -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)