Minor fixes

This commit is contained in:
TotallyNotElite 2020-11-26 12:41:21 +01:00 committed by TotallyNotElite
parent 454943b559
commit 9c1b236a24
2 changed files with 2 additions and 2 deletions

View File

@ -382,7 +382,7 @@ void Draw()
{ {
case 4: case 4:
observermode = "1st Person"; observermode = "1st Person";
color = colors::red_b; color = colors::red;
break; break;
case 5: case 5:
observermode = "3rd Person"; observermode = "3rd Person";

View File

@ -106,7 +106,7 @@ void DrawEntity(int x, int y, CachedEntity *ent)
{ {
if (ent->m_Type() == ENTITY_PLAYER) if (ent->m_Type() == ENTITY_PLAYER)
{ {
if (ent->m_bAlivePlayer()) if (!ent->m_bAlivePlayer())
return; // DEAD. not big surprise. return; // DEAD. not big surprise.
if (hide_invis && IsPlayerInvisible(ent)) if (hide_invis && IsPlayerInvisible(ent))
return; return;