Skip to content

Commit b03a5c6

Browse files
SemphrissSemphris
andauthored
Removed needless comments in IceCrusher root logic (#2180)
Co-authored-by: Semphris <[email protected]>
1 parent cada00f commit b03a5c6

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/badguy/icecrusher.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -744,23 +744,19 @@ CrusherRoot::start_animation()
744744
{
745745
m_col.m_group = COLGROUP_TOUCHABLE;
746746

747-
// TODO: Use Sprite::get_current_hitbox_height() each frame
748747
switch(m_direction)
749748
{
750749
case IceCrusher::Direction::DOWN:
751-
//m_col.m_bbox.move(Vector(0, -m_sprite->get_height()));
752750
m_sprite->set_action("downwards");
753751
m_sprite->set_animation_loops(1);
754752
break;
755753

756754
case IceCrusher::Direction::LEFT:
757-
//m_col.m_bbox.move(Vector(m_sprite->get_width(), 0));
758755
m_sprite->set_action("sideways-left");
759756
m_sprite->set_animation_loops(1);
760757
break;
761758

762759
case IceCrusher::Direction::RIGHT:
763-
//m_col.m_bbox.move(Vector(-m_sprite->get_width(), 0));
764760
m_sprite->set_action("sideways-right");
765761
m_sprite->set_animation_loops(1);
766762
break;

0 commit comments

Comments
 (0)