diff --git a/pcbnew/router/pns_shove.cpp b/pcbnew/router/pns_shove.cpp index 513b0ac407..22f0c8c529 100644 --- a/pcbnew/router/pns_shove.cpp +++ b/pcbnew/router/pns_shove.cpp @@ -1459,9 +1459,10 @@ SHOVE::SHOVE_STATUS SHOVE::shoveIteration( int aIter ) break; + case ITEM::HOLE_T: case ITEM::SOLID_T: PNS_DBG( Dbg(), BeginGroup, wxString::Format( wxT( "iter %d: walk-solid " ), aIter ), 0); - st = onCollidingSolid( currentLine, (SOLID*) ni, *nearest ); + st = onCollidingSolid( currentLine, ni, *nearest ); PNS_DBGN( Dbg(), EndGroup );