summaryrefslogtreecommitdiff
path: root/src/actions/actions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions/actions.cpp')
-rw-r--r--src/actions/actions.cpp34
1 files changed, 0 insertions, 34 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp
index d43853790..6d54ec1bb 100644
--- a/src/actions/actions.cpp
+++ b/src/actions/actions.cpp
@@ -77,7 +77,6 @@
#include "net/ipc.h"
#include "net/mercenaryhandler.h"
#include "net/npchandler.h"
-#include "net/pethandler.h"
#include "net/playerhandler.h"
#include "net/uploadcharinfo.h"
#include "net/tradehandler.h"
@@ -288,22 +287,6 @@ impHandler(emote)
return false;
}
-impHandler(petEmote)
-{
- if (event.action >= InputAction::PET_EMOTE_1
- && event.action <= InputAction::PET_EMOTE_48)
- {
- const int emotion = event.action - InputAction::PET_EMOTE_1;
- if (emoteShortcut)
- petHandler->emote(emoteShortcut->getEmote(emotion), 0);
- if (Game::instance())
- Game::instance()->setValidSpeed();
- return true;
- }
-
- return false;
-}
-
impHandler(outfit)
{
if (inputManager.isActionActive(InputAction::WEAR_OUTFIT))
@@ -1401,23 +1384,6 @@ impHandler(uploadLog)
return true;
}
-impHandler(catchPet)
-{
- if (!localPlayer || !actorManager)
- return false;
-
- Being *target = nullptr;
- if (!event.args.empty())
- target = actorManager->findNearestByName(event.args);
- if (!target)
- target = localPlayer->getTarget();
- else
- localPlayer->setTarget(target);
- if (target)
- petHandler->catchPet(target);
- return true;
-}
-
impHandler0(mercenaryFire)
{
mercenaryHandler->fire();