- fixed: line spacing was taken from a different variable in conversation display and mouse coordinate code.

This commit is contained in:
Christoph Oelckers 2016-01-27 11:19:30 +01:00
parent 4eb38f0381
commit 7c6e070244

View file

@ -848,7 +848,7 @@ public:
bool MouseEvent(int type, int x, int y) bool MouseEvent(int type, int x, int y)
{ {
int sel = -1; int sel = -1;
int fh = SmallFont->GetHeight(); int fh = OptionSettings.mLinespacing;
// convert x/y from screen to virtual coordinates, according to CleanX/Yfac use in DrawTexture // convert x/y from screen to virtual coordinates, according to CleanX/Yfac use in DrawTexture
x = ((x - (screen->GetWidth() / 2)) / CleanXfac) + 160; x = ((x - (screen->GetWidth() / 2)) / CleanXfac) + 160;