summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-28 20:19:47 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-28 20:19:47 +0300
commitdfc18c6fb1f40e3ffab11e31e2ffaa16d8a208c3 (patch)
tree6dfdda8f1c33b4e80225a241fef211ed4c5cc9a9
parentf6bee881d2f8f56313aae0bc8ee7294919cd8a6f (diff)
downloadmanaplus-dfc18c6fb1f40e3ffab11e31e2ffaa16d8a208c3.tar.gz
manaplus-dfc18c6fb1f40e3ffab11e31e2ffaa16d8a208c3.tar.bz2
manaplus-dfc18c6fb1f40e3ffab11e31e2ffaa16d8a208c3.tar.xz
manaplus-dfc18c6fb1f40e3ffab11e31e2ffaa16d8a208c3.zip
Fix compilation warnings.
-rw-r--r--src/actions/pets.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/actions/pets.cpp b/src/actions/pets.cpp
index e211ff0ac..5be45cfb4 100644
--- a/src/actions/pets.cpp
+++ b/src/actions/pets.cpp
@@ -204,11 +204,13 @@ impHandler0(petDirectRight)
impHandler0(petAiStart)
{
petHandler->startAi(true);
+ return true;
}
impHandler0(petAiStop)
{
petHandler->startAi(false);
+ return true;
}
} // namespace Actions