Fucking invalid spot.
This commit is contained in:
parent
e585cb5c3b
commit
c8972ab9e8
@ -180,7 +180,7 @@ static void handle_card_movement(struct cursor *cursor) {
|
||||
draw_cursor(cursor);
|
||||
}
|
||||
}
|
||||
if (*origin == *destination) {
|
||||
if (destination && *origin == *destination) {
|
||||
erase_cursor(cursor);
|
||||
cursor->y--;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user