From f154e1a36b1263078eb29c5f266cbdf510aa0dfc Mon Sep 17 00:00:00 2001 From: Raimon Zamora Date: Fri, 20 Jun 2025 12:07:30 +0200 Subject: [PATCH] - [NEW] Ara mouse.pos() torna les coordenades relatives al origen, no a la finestra. --- mini.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mini.cpp b/mini.cpp index f5ee4d0..3ce8662 100644 --- a/mini.cpp +++ b/mini.cpp @@ -1176,11 +1176,11 @@ int wpad() { } int mousex() { - return mouse_x; + return mouse_x-ds::origin[0]; } int mousey() { - return mouse_y; + return mouse_y-ds::origin[1]; } int mwheel() {