// fall down
physic.set_velocity_y(0);
jumped_in_solid = true;
+ jumping = false;
}
}
else
{
return ( issolid(base.x + base.width / 2, base.y + base.height) ||
issolid(base.x + 1, base.y + base.height) ||
- issolid(base.x + base.width - 1, base.y + base.height) );
+ issolid(base.x + base.width - 1, base.y + base.height) ||
+ isunisolid(base.x + base.width / 2, base.y + base.height) ||
+ isunisolid(base.x + 1, base.y + base.height) ||
+ isunisolid(base.x + base.width - 1, base.y + base.height) );
}
bool