Skip to content

Commit

Permalink
Fix ox cart offset in one of the directions
Browse files Browse the repository at this point in the history
  • Loading branch information
crudelios committed Aug 7, 2023
1 parent b08bf95 commit d677ea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/figuretype/depot.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ static void set_cart_offset(figure *f, int direction)

if (f->loads_sold_or_carrying >= 8) {
f->y_offset_cart -= 40;
} else if (direction == 3 && f->loads_sold_or_carrying == 0) {
} else if (direction == 3) {
f->y_offset_cart -= 20;
}
}
Expand Down

0 comments on commit d677ea5

Please sign in to comment.