- case 0:
- connect_vec[0].type = is_other_connection_area( get_position_x()+16, get_position_y()-5, &_item0);
- connect_vec[1].type = is_other_connection_area( get_position_x()+16, get_position_y()+get_image()->get_height() +5,& _item1);
- break;
- case 1:
- connect_vec[0].type = is_other_connection_area( get_position_x()-5, get_position_y()+16, &_item0);
- connect_vec[1].type = is_other_connection_area( get_position_x()+get_image()->get_width()+5, get_position_y()+16, &_item1);
+ case 0:
+ aux1 = is_other_connection_area( get_position_x()+16, get_position_y()-5, &_item0);
+ aux2 = is_other_connection_area( get_position_x()+16, get_position_y()+get_image()->get_height() +5,& _item1);
+ break;
+ case 1:
+ aux1 = is_other_connection_area( get_position_x()-5, get_position_y()+16, &_item0);
+ aux2 = is_other_connection_area( get_position_x()+get_image()->get_width()+5, get_position_y()+16, &_item1);