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.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/actions/pets.cpp b/src/actions/pets.cpp
index 64ac81e83..e211ff0ac 100644
--- a/src/actions/pets.cpp
+++ b/src/actions/pets.cpp
@@ -201,4 +201,14 @@ impHandler0(petDirectRight)
return true;
}
+impHandler0(petAiStart)
+{
+ petHandler->startAi(true);
+}
+
+impHandler0(petAiStop)
+{
+ petHandler->startAi(false);
+}
+
} // namespace Actions