aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Animator.cpp
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-20 12:07:07 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-20 12:07:07 +0100
commitbdc81e355e5bee5d2a3e29346ba08f7bc55196ca (patch)
treea5a62ba0b7fd5a354b6523cff768099281d317a1 /src/crepe/api/Animator.cpp
parent88f613cbb2e4aaf3ed55ac0c6490706dd6f6f19d (diff)
adjusted branch based on feedback
Diffstat (limited to 'src/crepe/api/Animator.cpp')
-rw-r--r--src/crepe/api/Animator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/api/Animator.cpp b/src/crepe/api/Animator.cpp
index f3d809c..d206428 100644
--- a/src/crepe/api/Animator.cpp
+++ b/src/crepe/api/Animator.cpp
@@ -18,7 +18,7 @@ Animator::Animator(game_object_id_t id, Sprite & ss, int row, int col, int col_a
animator_rect.h /= col;
animator_rect.w /= row;
animator_rect.x = 0;
- animator_rect.y = (col_animator - 1)* animator_rect.h;
+ animator_rect.y = (col_animator - 1) * animator_rect.h;
this->active = false;
}
Animator::~Animator() { dbg_trace(); }