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.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/actions/pets.cpp b/src/actions/pets.cpp
index 2b3f6dfb8..925ab993f 100644
--- a/src/actions/pets.cpp
+++ b/src/actions/pets.cpp
@@ -157,9 +157,6 @@ impHandler0(petMoveRight)
impHandler0(petDirectUp)
{
- const Being *const pet = getPet();
- if (!pet)
- return false;
petHandler->setDirection(BeingDirection::UP);
return true;
}