Skip to content

Commit

Permalink
Show fake parts list in look_around
Browse files Browse the repository at this point in the history
  • Loading branch information
kevingranade committed Apr 27, 2022
1 parent 2deda68 commit 2324bc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vehicle_display.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ int vehicle::print_part_list( const catacurses::window &win, int y1, const int m
if( p < 0 || p >= static_cast<int>( parts.size() ) ) {
return y1;
}
std::vector<int> pl = this->parts_at_relative( parts[p].mount, true );
std::vector<int> pl = this->parts_at_relative( parts[p].mount, true, true );
int y = y1;
for( size_t i = 0; i < pl.size(); i++ ) {
if( y >= max_y ) {
Expand Down

0 comments on commit 2324bc7

Please sign in to comment.