diff --git a/desktop_version/src/Entity.cpp b/desktop_version/src/Entity.cpp index 6c22af08..cabdac71 100644 --- a/desktop_version/src/Entity.cpp +++ b/desktop_version/src/Entity.cpp @@ -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 ) diff --git a/desktop_version/src/Entity.h b/desktop_version/src/Entity.h index 7a06726f..6e57585d 100644 --- a/desktop_version/src/Entity.h +++ b/desktop_version/src/Entity.h @@ -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);