diff options
Diffstat (limited to 'Artist.cpp')
-rw-r--r-- | Artist.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -28,11 +28,6 @@ void Artist::update_edge_collision() { } void Artist::update_movement() { - if (this->data.waiting > 0) { - this->data.waiting--; - return; - } - float last_x = this->data.x; float last_y = this->data.y; @@ -44,8 +39,7 @@ void Artist::update_movement() { } void Artist::update_color() { - // waiting color - if (this->data.waiting > 0) { + if (this->colliding) { this->color = { .red = 0xff, .green = 0x00, |