X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/31b3e321726d5c3fe720dd216687d3138523714f..f5a1e732bf3907cabd004932aba3256b31d9d282:/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() +{ +}