mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
- fixed: line spacing was taken from a different variable in conversation display and mouse coordinate code.
This commit is contained in:
parent
4eb38f0381
commit
7c6e070244
1 changed files with 1 additions and 1 deletions
|
@ -848,7 +848,7 @@ public:
|
|||
bool MouseEvent(int type, int x, int y)
|
||||
{
|
||||
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
|
||||
x = ((x - (screen->GetWidth() / 2)) / CleanXfac) + 160;
|
||||
|
|
Loading…
Reference in a new issue