summaryrefslogtreecommitdiff
path: root/src/actions/actions.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-22 22:24:24 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-22 22:24:24 +0300
commitf6596726b6978a7380de163740e6b65c8394ca42 (patch)
treed1264b5536c1aeefb791b5e8d27b2c9500fc7cca /src/actions/actions.cpp
parent92eb0630eb067fbe0a18edb93a02f6fd424c3212 (diff)
downloadplus-f6596726b6978a7380de163740e6b65c8394ca42.tar.gz
plus-f6596726b6978a7380de163740e6b65c8394ca42.tar.bz2
plus-f6596726b6978a7380de163740e6b65c8394ca42.tar.xz
plus-f6596726b6978a7380de163740e6b65c8394ca42.zip
Move pets actions from actions.cpp into pets.cpp
Diffstat (limited to 'src/actions/actions.cpp')
-rw-r--r--src/actions/actions.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp
index 96a6e48ca..c5bbf075b 100644
--- a/src/actions/actions.cpp
+++ b/src/actions/actions.cpp
@@ -92,7 +92,6 @@
#include "net/net.h"
#include "net/npchandler.h"
#include "net/playerhandler.h"
-#include "net/pethandler.h"
#include "net/serverfeatures.h"
#include "net/uploadcharinfo.h"
#include "net/tradehandler.h"
@@ -1617,20 +1616,6 @@ impHandler0(homunculusFeed)
return true;
}
-impHandler0(petFeed)
-{
- if (petHandler != nullptr)
- petHandler->feed();
- return true;
-}
-
-impHandler0(petDropLoot)
-{
- if (petHandler != nullptr)
- petHandler->dropLoot();
- return true;
-}
-
impHandler(useItem)
{
const int itemId = atoi(event.args.c_str());