We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3834a86 commit dcd7dd9Copy full SHA for dcd7dd9
src/player.zig
@@ -1037,7 +1037,7 @@ fn ACTION_PRG(level: *lvl.Level, action: PlayerAction) void {
1037
}
1038
const is_in_air = globals.YFALL != 0 or globals.jump_acceleration_counter != 0;
1039
// attach to ladder in air
1040
- if(is_in_air and globals.LAST_ORDER != .Climb) {
+ if(is_in_air and (globals.LAST_ORDER != .Climb and globals.LAST_ORDER != .Climb_Carry)) {
1041
NEW_FORM(player, if (globals.CARRY_FLAG) .Climb_Carry else .Climb);
1042
GET_IMAGE(level);
1043
player.sprite.speed_y = 0;
0 commit comments