+ if (input.down == DOWN && !on_ground() && !duck)
+ butt_jump = true;
+ else if (input.down == UP)
+ butt_jump = false;
+ if (input.down == DOWN && butt_jump && on_ground())
+ {
+ if (isbrick(base.x, base.y + base.height))
+ World::current()->trybreakbrick(base.x, base.y + base.height, false);
+ if (isbrick(base.x + base.width, base.y + base.height))
+ World::current()->trybreakbrick(base.x + base.width, base.y + base.height, false);
+
+ butt_jump = false;
+ }
+
+