summaryrefslogtreecommitdiff
path: root/src/actions/actions.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-22 21:26:32 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-22 21:26:32 +0300
commit70f7db29f291ea22e6dca7c03540beded7ec7bf8 (patch)
treef8acd516a552ad34fcf8f4d84169d90e001f55ad /src/actions/actions.cpp
parent1e7d0d8e9873283a0ec09a62e579b718c3c06e51 (diff)
downloadplus-70f7db29f291ea22e6dca7c03540beded7ec7bf8.tar.gz
plus-70f7db29f291ea22e6dca7c03540beded7ec7bf8.tar.bz2
plus-70f7db29f291ea22e6dca7c03540beded7ec7bf8.tar.xz
plus-70f7db29f291ea22e6dca7c03540beded7ec7bf8.zip
Add chat command for feed homunculus.
Diffstat (limited to 'src/actions/actions.cpp')
-rw-r--r--src/actions/actions.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp
index 65de77689..afd774b79 100644
--- a/src/actions/actions.cpp
+++ b/src/actions/actions.cpp
@@ -1609,6 +1609,13 @@ impHandler0(homunculusToMaster)
return true;
}
+impHandler0(homunculusFeed)
+{
+ if (homunculusHandler != nullptr)
+ homunculusHandler->feed();
+ return true;
+}
+
impHandler(useItem)
{
const int itemId = atoi(event.args.c_str());