summaryrefslogtreecommitdiff
path: root/src/touchmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-06 22:05:56 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-06 22:05:56 +0300
commit3a9398d853caf39778771d4916b0781a8597db42 (patch)
treec1f9982355a505963cf7e011a8e1f374dc88fbfa /src/touchmanager.cpp
parentad02b24b25f565a274ff8ec8408acefc1c232e12 (diff)
downloadplus-3a9398d853caf39778771d4916b0781a8597db42.tar.gz
plus-3a9398d853caf39778771d4916b0781a8597db42.tar.bz2
plus-3a9398d853caf39778771d4916b0781a8597db42.tar.xz
plus-3a9398d853caf39778771d4916b0781a8597db42.zip
Fix compilation warnings.
Diffstat (limited to 'src/touchmanager.cpp')
-rw-r--r--src/touchmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/touchmanager.cpp b/src/touchmanager.cpp
index 4fc5c57e7..2382e13b4 100644
--- a/src/touchmanager.cpp
+++ b/src/touchmanager.cpp
@@ -64,9 +64,9 @@ void TouchManager::init()
loadTouchItem(&mPad, "dpad.xml", 100, 100, LEFT,
&padEvents, &padClick, &padUp, &padOut);
loadTouchItem(&mAttack, "dpad_attack.xml", 60, 60, RIGHT,
- nullptr, &attackClick, &attackUp, &attackOut);
+ nullptr, &attackClick, nullptr, nullptr);
loadTouchItem(&mCancel, "dpad_cancel.xml", 60, 60, RIGHT,
- nullptr, &cancelClick, &cancelUp, &cancelOut);
+ nullptr, &cancelClick, nullptr, nullptr);
}
}