Use base_height where appropriate.

This commit is contained in:
Boldizsár Lipka 2014-07-19 12:02:18 +02:00
parent 3071c38814
commit 86f626cad2

View file

@ -730,7 +730,7 @@ void part_ui::render_story_box()
SDL_Rect dstrect = sdl::create_rect(text_x_, 0, scan_width, scan_height);
bool scan_finished = false;
while(true) {
scan_finished = scan.y >= txttxt.height();
scan_finished = scan.y >= txttxt.base_height();
if (!scan_finished)
{
dstrect.y = fix_text_y + scan.y + storybox_padding;