Fucking invalid spot.

This commit is contained in:
Murilo Pereira 2011-06-04 23:54:16 -03:00
parent e585cb5c3b
commit c8972ab9e8

View File

@ -180,7 +180,7 @@ static void handle_card_movement(struct cursor *cursor) {
draw_cursor(cursor); draw_cursor(cursor);
} }
} }
if (*origin == *destination) { if (destination && *origin == *destination) {
erase_cursor(cursor); erase_cursor(cursor);
cursor->y--; cursor->y--;
} }