player: fix typo that'll unbreak the envirosuit.
This commit is contained in:
parent
5b0d88840c
commit
6f03d53242
1 changed files with 1 additions and 4 deletions
|
@ -502,23 +502,20 @@ 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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue