diff --git a/desktop_version/src/Entity.cpp b/desktop_version/src/Entity.cpp index 8925b0f6..6c22af08 100644 --- a/desktop_version/src/Entity.cpp +++ b/desktop_version/src/Entity.cpp @@ -3753,20 +3753,6 @@ void entityclass::animateentities( int _i ) } } -bool entityclass::gettype( int t ) -{ - //Returns true is there is an entity of type t onscreen - for (size_t i = 0; i < entities.size(); i++) - { - if(entities[i].type==t) - { - return true; - } - } - - return false; -} - int entityclass::getcompanion() { //Returns the index of the companion with rule t diff --git a/desktop_version/src/Entity.h b/desktop_version/src/Entity.h index 4715ddd2..7a06726f 100644 --- a/desktop_version/src/Entity.h +++ b/desktop_version/src/Entity.h @@ -91,8 +91,6 @@ public: void animateentities(int i); - bool gettype(int t); - int getcompanion(); int getplayer();