Remove unused function edentclear()

This function was marked as unused by cppcheck.
This commit is contained in:
Misa 2021-01-02 00:21:02 -08:00 committed by Ethan Lee
parent 9b3bf69491
commit a656f4c4d8
2 changed files with 0 additions and 11 deletions

View File

@ -2196,15 +2196,6 @@ int edentat( int xp, int yp )
return -1;
}
bool edentclear( int xp, int yp )
{
for(size_t i=0; i<edentity.size(); i++)
{
if(edentity[i].x==xp && edentity[i].y==yp) return false;
}
return true;
}
void fillbox( int x, int y, int x2, int y2, int c )
{
FillRect(graphics.backBuffer, x, y, x2-x, 1, c);

View File

@ -276,8 +276,6 @@ void removeedentity(int t);
int edentat(int xp, int yp);
bool edentclear(int xp, int yp);
void fillbox(int x, int y, int x2, int y2, int c);
void fillboxabs(int x, int y, int x2, int y2, int c);