Make entityclass::updateentities() no longer a bool

It always returns true anyway, so why bother? And it doesn't look like
any code uses its return value, anyway.
This commit is contained in:
Misa
2020-04-03 14:36:04 -07:00
committed by Ethan Lee
parent 46c17052c6
commit 0fb37352ce
2 changed files with 2 additions and 4 deletions

View File

@@ -2228,7 +2228,7 @@ void entityclass::createentity( float xp, float yp, int t, float vx /*= 0*/, flo
entities.push_back(entity);
}
bool entityclass::updateentities( int i )
void entityclass::updateentities( int i )
{
if(entities[i].statedelay<=0)
{
@@ -3388,8 +3388,6 @@ bool entityclass::updateentities( int i )
entities[i].statedelay = 0;
}
}
return true;
}
void entityclass::animateentities( int _i )

View File

@@ -87,7 +87,7 @@ public:
void createentity(float xp, float yp, int t, float vx = 0, float vy = 0,
int p1 = 0, int p2 = 0, int p3 = 320, int p4 = 240 );
bool updateentities(int i);
void updateentities(int i);
void animateentities(int i);