diff --git a/desktop_version/src/Ent.cpp b/desktop_version/src/Ent.cpp index 91277c75..876f1ba2 100644 --- a/desktop_version/src/Ent.cpp +++ b/desktop_version/src/Ent.cpp @@ -644,3 +644,11 @@ void entclass::updatecolour() break; } } + +bool entclass::ishumanoid() +{ + return type == 0 + || type == 12 + || type == 14 + || type == 55; +} diff --git a/desktop_version/src/Ent.h b/desktop_version/src/Ent.h index 6b66c5f4..e4d6bdc3 100644 --- a/desktop_version/src/Ent.h +++ b/desktop_version/src/Ent.h @@ -20,6 +20,8 @@ public: void updatecolour(); + bool ishumanoid(); + public: //Fundamentals bool invis;