diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-11-30 21:02:27 +0100 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-11-30 21:02:27 +0100 |
commit | 6ae0b9038e432869b506cbdfe2779e97d3732d87 (patch) | |
tree | 7fadff8dd2125c48422ab10c6faa532650f8327a /src/crepe/api/Animator.cpp | |
parent | 1520cb55ad714583c3903f2988b0fdc38ede9c18 (diff) |
improved animator
Diffstat (limited to 'src/crepe/api/Animator.cpp')
-rw-r--r-- | src/crepe/api/Animator.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/crepe/api/Animator.cpp b/src/crepe/api/Animator.cpp index 45f67f6..7fe49ee 100644 --- a/src/crepe/api/Animator.cpp +++ b/src/crepe/api/Animator.cpp @@ -18,7 +18,6 @@ Animator::Animator(game_object_id_t id, Sprite & ss, int row, int col, int col_a this->spritesheet.mask.w /= row; this->spritesheet.mask.x = 0; this->spritesheet.mask.y = col_animator * this->spritesheet.mask.h; - this->active = false; // need to do this for to get the aspect ratio for a single clipping in the spritesheet this->spritesheet.aspect_ratio |