summaryrefslogtreecommitdiff
path: root/src/game/GameController.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/GameController.cpp')
-rw-r--r--src/game/GameController.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/GameController.cpp b/src/game/GameController.cpp
index aecdeaf..59e1e34 100644
--- a/src/game/GameController.cpp
+++ b/src/game/GameController.cpp
@@ -341,7 +341,7 @@ ui::Point GameController::PointTranslate(ui::Point point)
if(point.X >= XRES)
point.X = XRES-1;
if(point.Y >= YRES)
- point.Y = YRES+1;
+ point.Y = YRES-1;
if(point.Y < 0)
point.Y = 0;
if(point.X < 0)