Skip to content

Commit

Permalink
Merge pull request #77115 from Night-Pryanik/overmap-description
Browse files Browse the repository at this point in the history
OMT description fixes
  • Loading branch information
Maleclypse authored Oct 19, 2024
2 parents dd90f7a + e8f1336 commit ac689be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/overmap_ui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1030,8 +1030,8 @@ static void draw_om_sidebar( ui_adaptor &ui,
vision_level_string = _( "This is a bug!" );
break;
}
lines = fold_and_print( wbar, point( 3, lines + 1 ), getmaxx( wbar ) - 3, c_light_gray,
vision_level_string );
lines += fold_and_print( wbar, point( 3, lines + 1 ), getmaxx( wbar ) - 3, c_light_gray,
vision_level_string );
}
}
} else {
Expand Down
2 changes: 1 addition & 1 deletion src/overmapbuffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1534,7 +1534,7 @@ std::string overmapbuffer::get_description_at( const tripoint_abs_sm &where )
const city_reference closest_cref = closest_known_city( where );

if( !closest_cref ) {
return ter_name;
return ter_name + "\n" + get_origin( oter->get_type_id()->src );
}

const struct city &closest_city = *closest_cref.city;
Expand Down

0 comments on commit ac689be

Please sign in to comment.