X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/31b3e321726d5c3fe720dd216687d3138523714f..4675818d2893c57a409498cd39dba6f9c18b6fe9:/Constructor/item.cpp diff --git a/Constructor/item.cpp b/Constructor/item.cpp index 72f6393..de9c4cd 100644 --- a/Constructor/item.cpp +++ b/Constructor/item.cpp @@ -126,11 +126,10 @@ ConnectorType CItem::is_other_connection_area(int _a, int _b) std::list::iterator i = listaItems->begin(); while ( i != listaItems->end() ) { CItem *temp = *i; - if (temp != this) { + if (temp != this) if ( (temp2 = temp->get_connector_type(_a,_b)) != UNDEF ) return temp2; - i++; - } + i++; } return UNDEF; } @@ -138,3 +137,6 @@ ConnectorType CItem::get_connector_type( int _a, int _b ) { return UNDEF; } +void CItem::set_default_connector() +{ +}