player: fix typo that'll unbreak the envirosuit.

This commit is contained in:
Marco Cawthorne 2023-04-16 11:20:05 -07:00
parent 5b0d88840c
commit 6f03d53242
Signed by: eukara
GPG key ID: CE2032F0A2882A22

View file

@ -502,24 +502,21 @@ player::EvaluateEntity(void)
if (g_items & ITEM_INVIS) { if (g_items & ITEM_INVIS) {
if (m_invisFinishTime < time) { if (m_invisFinishTime < time) {
g_items &= ~ITEM_INVIS; g_items &= ~ITEM_INVIS;
} }
} }
if (g_items & ITEM_INVULN) { if (g_items & ITEM_INVULN) {
if (m_invulnFinishTime < time) { if (m_invulnFinishTime < time) {
g_items &= ~ITEM_INVULN; g_items &= ~ITEM_INVULN;
} }
} }
if (g_items & ITEM_ENVIROSUIT) { if (g_items & ITEM_ENVIROSUIT) {
if (m_enviroFinishTime < time) { if (m_enviroFinishTime < time) {
}
g_items &= ~ITEM_ENVIROSUIT; g_items &= ~ITEM_ENVIROSUIT;
} }
}
} }
/* /*