Added joker selling (still no animation) + fixed SpriteObject constructor focused bug

This commit is contained in:
MeirGavish
2025-08-16 15:38:34 +03:00
parent 92fa279059
commit 64274ae465
7 changed files with 120 additions and 38 deletions
+3
View File
@@ -49,6 +49,9 @@ void selection_grid_move_selection_vert(SelectionGrid *selection_grid, int direc
&& new_selection.y < selection_grid->num_rows)
{
int new_row_size = selection_grid->rows[new_selection.y].get_size();
if (new_row_size <= 0)
return;
if (selection.x >= new_row_size)
{
// TODO: Maintain relative horizontal position