aboutsummaryrefslogtreecommitdiff
path: root/Artist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Artist.cpp')
-rw-r--r--Artist.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/Artist.cpp b/Artist.cpp
index 76e0ca9..6d95542 100644
--- a/Artist.cpp
+++ b/Artist.cpp
@@ -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,