aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/menu/UMenu.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/menu/UMenu.pas b/src/menu/UMenu.pas
index a05c667f..dd4f257e 100644
--- a/src/menu/UMenu.pas
+++ b/src/menu/UMenu.pas
@@ -1667,10 +1667,10 @@ begin
end;
// transfer mousecords to the 800x600 raster we use to draw
- X := Round((X / (Screen.w / Screens)) * RenderW);
+ X := Round((X / (ScreenW / Screens)) * RenderW);
if (X > RenderW) then
X := X - RenderW;
- Y := Round((Y / Screen.h) * RenderH);
+ Y := Round((Y / ScreenH) * RenderH);
nBut := InteractAt(X, Y);
if nBut >= 0 then