@ -70,13 +70,7 @@ short lab_can_move(Field_State** field, unsigned short x, unsigned short y, Dire
if (direction == N && field[x][y] == SOLUTION){
return 1;
}
if (direction == E && field[x][y] == SOLUTION){
if (direction == S && field[x][y] == SOLUTION){
if (direction == W && field[x][y] == SOLUTION){
if (field[x][y] == SOLUTION){