]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Constructor/conduct.cpp
* Cliente carga todos los widgets (falta exclusa!)
[z.facultad/75.42/plaqui.git] / Constructor / conduct.cpp
index 1a75aef33bfeab6c0d0a8f72b19201e2b68ad131..9b2e31fcbf459580c20a609a546259930f9382f8 100644 (file)
@@ -94,11 +94,10 @@ bool Conduct::check_connection()
                                if ( is_other_connection_area( get_position_x()+16, get_position_y()-5) && 
                                         is_other_connection_area( get_position_x()+16, get_position_y()+get_image()->get_height() +5) )
                                        return true;                            
                                if ( is_other_connection_area( get_position_x()+16, get_position_y()-5) && 
                                         is_other_connection_area( get_position_x()+16, get_position_y()+get_image()->get_height() +5) )
                                        return true;                            
-                               break;
                        case 1:
                                if ( is_other_connection_area( get_position_x()-5, get_position_y()+16) && 
                                         is_other_connection_area( get_position_x()+get_image()->get_width()+5, get_position_y()+16) )
                        case 1:
                                if ( is_other_connection_area( get_position_x()-5, get_position_y()+16) && 
                                         is_other_connection_area( get_position_x()+get_image()->get_width()+5, get_position_y()+16) )
-                               return true;
+                                       return true;
        }
        return false;
 }
        }
        return false;
 }