diff --git a/src/vehicle_display.cpp b/src/vehicle_display.cpp index e098e5659225b..af8f0cd8084b3 100644 --- a/src/vehicle_display.cpp +++ b/src/vehicle_display.cpp @@ -172,13 +172,16 @@ int vehicle::print_part_list( const catacurses::window &win, int y1, const int m std::vector pl = this->parts_at_relative( parts[p].mount, true, true ); int y = y1; for( size_t i = 0; i < pl.size(); i++ ) { + const vehicle_part &vp = parts[ pl [ i ] ]; + if( vp.is_fake && !vp.is_active_fake ) { + continue; + } if( y >= max_y ) { mvwprintz( win, point( 1, y ), c_yellow, _( "More parts hereā€¦" ) ); ++y; break; } - const vehicle_part &vp = parts[ pl [ i ] ]; std::string partname = vp.name();