summaryrefslogtreecommitdiff
path: root/src/touchactions.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/touchactions.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/touchactions.cpp')
-rw-r--r--src/touchactions.cpp21
1 files changed, 2 insertions, 19 deletions
diff --git a/src/touchactions.cpp b/src/touchactions.cpp
index f0b46a31f..ac3e45699 100644
--- a/src/touchactions.cpp
+++ b/src/touchactions.cpp
@@ -141,31 +141,14 @@ impHandler0(padUp)
moveChar(50, 50);
}
-impHandler(attackClick)
+impHandler0(attackClick)
{
ActionManager::targetAttack(tempEvent);
}
-impHandler(attackUp)
-{
-}
-
-impHandler(attackOut)
-{
-}
-
-impHandler(cancelClick)
+impHandler0(cancelClick)
{
ActionManager::stopAttack(tempEvent);
if (!player_node->getTarget())
ActionManager::sit(tempEvent);
}
-
-impHandler(cancelUp)
-{
-}
-
-impHandler(cancelOut)
-{
-}
-