Add entclass::ishumanoid()

"Humanoid" is just a word for "crewmate or player" but without having to
say "crewmate or player". This is just to make it so humanoids get drawn
after all other entities get drawn, meaning humanoids will be drawn on
top.
This commit is contained in:
Misa authored and Ethan Lee committed 2020-11-03 13:31:56 -05:00
1 parent d05fbe8687
commit 733d0dad80
2 files changed
+10

No files matched your search

+8
View File
@@ -644,3 +644,11 @@ void entclass::updatecolour()
break;
}
}
bool entclass::ishumanoid()
{
return type == 0
|| type == 12
|| type == 14
|| type == 55;
}
+2
View File
@@ -20,6 +20,8 @@ public:
void updatecolour();
bool ishumanoid();
public:
//Fundamentals
bool invis;