summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-12 14:07:09 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-12 14:07:09 +0300
commit1a31a833cee6ea7cd37e12742b64110747e8d6ab (patch)
treef90b30befedbda0e6a9356e44bceb42f3c9d1f16
parent08d6f25d10f4bd939cbce15ee5b62979e0f6fdc5 (diff)
downloadmv-1a31a833cee6ea7cd37e12742b64110747e8d6ab.tar.gz
mv-1a31a833cee6ea7cd37e12742b64110747e8d6ab.tar.bz2
mv-1a31a833cee6ea7cd37e12742b64110747e8d6ab.tar.xz
mv-1a31a833cee6ea7cd37e12742b64110747e8d6ab.zip
Fix compilation warnings.
-rw-r--r--src/actions/actions.cpp1
-rw-r--r--src/actions/commands.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp
index 4cd863dc9..69c711e18 100644
--- a/src/actions/actions.cpp
+++ b/src/actions/actions.cpp
@@ -1313,6 +1313,7 @@ impHandler(useItem)
{
skillDialog->useItem(itemId);
}
+ return true;
}
} // namespace Actions
diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp
index 09895dc03..6708567cf 100644
--- a/src/actions/commands.cpp
+++ b/src/actions/commands.cpp
@@ -242,6 +242,7 @@ impHandler(chatNuke)
actorManager->addBlock(static_cast<uint32_t>(being->getId()));
actorManager->destroy(being);
+ return true;
}
impHandler0(present)