From c35be830c39282fd557e459a86d0915a46e857ab Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Sun, 30 Nov 2008 01:43:00 +0000 Subject: [PATCH] - Fixed alignment of "finished" line in WI_drawLF() when the level name is a graphic and scaled. SVN r1299 (trunk) --- docs/rh-log.txt | 2 ++ src/wi_stuff.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/rh-log.txt b/docs/rh-log.txt index 89ebdf4958..6b572eb3bf 100644 --- a/docs/rh-log.txt +++ b/docs/rh-log.txt @@ -1,4 +1,6 @@ November 29, 2008 +- Fixed alignment of "finished" line in WI_drawLF() when the level name is a + graphic and scaled. - It is now possible to replace the game's SmallFont with a single lump font called SMALLFNT. - Reduced the width of the second column in wi_percents false mode from 3 to diff --git a/src/wi_stuff.cpp b/src/wi_stuff.cpp index 8c41f6c011..8c1a9987ef 100644 --- a/src/wi_stuff.cpp +++ b/src/wi_stuff.cpp @@ -750,7 +750,7 @@ void WI_drawLF () if (tex) { screen->DrawTexture(tex, midx - tex->GetWidth()*CleanXfac/2, y, DTA_CleanNoMove, true, TAG_DONE); - y += tex->GetHeight() + BigFont->GetHeight()*CleanYfac/4; + y += (tex->GetHeight() + BigFont->GetHeight()/4) * CleanYfac; } else {