summaryrefslogtreecommitdiff
path: root/src/touchactions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/touchactions.cpp')
-rw-r--r--src/touchactions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/touchactions.cpp b/src/touchactions.cpp
index d969c8bc2..5115ec6c2 100644
--- a/src/touchactions.cpp
+++ b/src/touchactions.cpp
@@ -104,7 +104,7 @@ static void moveChar(int x, int y)
impHandler(padClick)
{
- moveChar(mouseInput.getTouchX(), mouseInput.getTouchY());
+ moveChar(mouseInput.getX(), mouseInput.getY());
padClicked = true;
}
@@ -113,7 +113,7 @@ impHandler(padEvents)
if (mouseInput.getType() == gcn::MouseInput::MOVED)
{
if (padClicked)
- moveChar(mouseInput.getTouchX(), mouseInput.getTouchY());
+ moveChar(mouseInput.getX(), mouseInput.getY());
}
}