summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/actions.cpp7
-rw-r--r--src/actions/actions.h1
2 files changed, 8 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());
diff --git a/src/actions/actions.h b/src/actions/actions.h
index 107f978aa..83072680c 100644
--- a/src/actions/actions.h
+++ b/src/actions/actions.h
@@ -103,6 +103,7 @@ namespace Actions
decHandler(mercenaryFire);
decHandler(mercenaryToMaster);
decHandler(homunculusToMaster);
+ decHandler(homunculusFeed);
decHandler(useItem);
decHandler(useItemInv);
decHandler(invToStorage);