diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-26 12:39:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-26 12:39:08 +0300 |
commit | a9f4333410bf9ef9448d3868587271b8e948807b (patch) | |
tree | 69284264cc6bc205e8584445d526b62d8cacc91c /src/actions | |
parent | dfea2f364a0909aec5535e0d17ac7e15ac7419e4 (diff) | |
download | manaplus-a9f4333410bf9ef9448d3868587271b8e948807b.tar.gz manaplus-a9f4333410bf9ef9448d3868587271b8e948807b.tar.bz2 manaplus-a9f4333410bf9ef9448d3868587271b8e948807b.tar.xz manaplus-a9f4333410bf9ef9448d3868587271b8e948807b.zip |
Add action and chat command to fire homunculus.
New chat command: firehomunculus
Diffstat (limited to 'src/actions')
-rw-r--r-- | src/actions/commands.cpp | 6 | ||||
-rw-r--r-- | src/actions/commands.h | 1 |
2 files changed, 7 insertions, 0 deletions
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 |