doh, clamping to width instead of height

This commit is contained in:
Brian Matzon 2004-03-05 06:23:54 +00:00
parent 10b03d418f
commit 55544a36f3
1 changed files with 1 additions and 1 deletions

View File

@ -329,7 +329,7 @@ public class Mouse {
if (y < 0) {
y = 0;
} else if (y > Window.getHeight()) {
y = Window.getWidth();
y = Window.getHeight();
}
}
}