From 6f03d5324202811f06365ff920c36e7aeb55354d Mon Sep 17 00:00:00 2001 From: Marco Cawthorne Date: Sun, 16 Apr 2023 11:20:05 -0700 Subject: [PATCH] player: fix typo that'll unbreak the envirosuit. --- src/shared/player.qc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/shared/player.qc b/src/shared/player.qc index b9b0a56..d8a9b1e 100644 --- a/src/shared/player.qc +++ b/src/shared/player.qc @@ -502,23 +502,20 @@ player::EvaluateEntity(void) if (g_items & ITEM_INVIS) { if (m_invisFinishTime < time) { - g_items &= ~ITEM_INVIS; } } if (g_items & ITEM_INVULN) { if (m_invulnFinishTime < time) { - g_items &= ~ITEM_INVULN; } } if (g_items & ITEM_ENVIROSUIT) { if (m_enviroFinishTime < time) { - - } g_items &= ~ITEM_ENVIROSUIT; + } } }