diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-22 23:20:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-22 23:20:05 +0300 |
commit | 3c51082082397b0564a224214249a096750b56c6 (patch) | |
tree | fc4bb3b4d511842e2a9f0f608d51fb3539a40ae9 /src/actions/pets.cpp | |
parent | f6596726b6978a7380de163740e6b65c8394ca42 (diff) | |
download | plus-3c51082082397b0564a224214249a096750b56c6.tar.gz plus-3c51082082397b0564a224214249a096750b56c6.tar.bz2 plus-3c51082082397b0564a224214249a096750b56c6.tar.xz plus-3c51082082397b0564a224214249a096750b56c6.zip |
Add chat command for return pet to egg.
Diffstat (limited to 'src/actions/pets.cpp')
-rw-r--r-- | src/actions/pets.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/actions/pets.cpp b/src/actions/pets.cpp index 01542edf4..b989cfc5c 100644 --- a/src/actions/pets.cpp +++ b/src/actions/pets.cpp @@ -231,4 +231,11 @@ impHandler0(petDropLoot) return true; } +impHandler0(petReturnToEgg) +{ + if (petHandler != nullptr) + petHandler->returnToEgg(); + return true; +} + } // namespace Actions |