File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -744,23 +744,19 @@ CrusherRoot::start_animation()
744
744
{
745
745
m_col.m_group = COLGROUP_TOUCHABLE;
746
746
747
- // TODO: Use Sprite::get_current_hitbox_height() each frame
748
747
switch (m_direction)
749
748
{
750
749
case IceCrusher::Direction::DOWN:
751
- // m_col.m_bbox.move(Vector(0, -m_sprite->get_height()));
752
750
m_sprite->set_action (" downwards" );
753
751
m_sprite->set_animation_loops (1 );
754
752
break ;
755
753
756
754
case IceCrusher::Direction::LEFT:
757
- // m_col.m_bbox.move(Vector(m_sprite->get_width(), 0));
758
755
m_sprite->set_action (" sideways-left" );
759
756
m_sprite->set_animation_loops (1 );
760
757
break ;
761
758
762
759
case IceCrusher::Direction::RIGHT:
763
- // m_col.m_bbox.move(Vector(-m_sprite->get_width(), 0));
764
760
m_sprite->set_action (" sideways-right" );
765
761
m_sprite->set_animation_loops (1 );
766
762
break ;
You can’t perform that action at this time.
0 commit comments