summaryrefslogtreecommitdiff
path: root/src/actions/pets.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions/pets.cpp')
-rw-r--r--src/actions/pets.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/actions/pets.cpp b/src/actions/pets.cpp
index b989cfc5c..25c5f1411 100644
--- a/src/actions/pets.cpp
+++ b/src/actions/pets.cpp
@@ -238,4 +238,11 @@ impHandler0(petReturnToEgg)
return true;
}
+impHandler0(petUnequip)
+{
+ if (petHandler != nullptr)
+ petHandler->unequip();
+ return true;
+}
+
} // namespace Actions