mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 01:59:43 +01:00
Remove unused function entityclass::gettype()
Not sure why this function is here. It makes sense if you know that the game will only do certain moving platform things if you already have a moving platform in the room, however apparently this function has absolutely nothing to do with it.
This commit is contained in:
parent
744c685614
commit
46c17052c6
2 changed files with 0 additions and 16 deletions
|
@ -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()
|
int entityclass::getcompanion()
|
||||||
{
|
{
|
||||||
//Returns the index of the companion with rule t
|
//Returns the index of the companion with rule t
|
||||||
|
|
|
@ -91,8 +91,6 @@ public:
|
||||||
|
|
||||||
void animateentities(int i);
|
void animateentities(int i);
|
||||||
|
|
||||||
bool gettype(int t);
|
|
||||||
|
|
||||||
int getcompanion();
|
int getcompanion();
|
||||||
|
|
||||||
int getplayer();
|
int getplayer();
|
||||||
|
|
Loading…
Reference in a new issue