From a9f4333410bf9ef9448d3868587271b8e948807b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 26 Sep 2014 12:39:08 +0300 Subject: Add action and chat command to fire homunculus. New chat command: firehomunculus --- src/actions/commands.cpp | 6 ++++++ src/actions/commands.h | 1 + 2 files changed, 7 insertions(+) (limited to 'src/actions') diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp index 4cf529ec0..4f1cef5be 100644 --- a/src/actions/commands.cpp +++ b/src/actions/commands.cpp @@ -711,4 +711,10 @@ impHandler(setHomunculusName) return true; } +impHandler(fireHomunculus) +{ + homunculusHandler->fire(); + return true; +} + } // namespace Actions diff --git a/src/actions/commands.h b/src/actions/commands.h index 5a1bffddb..085b89663 100644 --- a/src/actions/commands.h +++ b/src/actions/commands.h @@ -75,6 +75,7 @@ namespace Actions decHandler(serverUnIgnoreWhisper); decHandler(setPetName); decHandler(setHomunculusName); + decHandler(fireHomunculus); } // namespace Actions #undef decHandler -- cgit v1.2.3-70-g09d2