mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
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:
@@ -644,3 +644,11 @@ void entclass::updatecolour()
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
bool entclass::ishumanoid()
|
||||
{
|
||||
return type == 0
|
||||
|| type == 12
|
||||
|| type == 14
|
||||
|| type == 55;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user