From 3fb675aa416170395d80eb51435a0d09161baf36 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 18 Dec 2015 16:10:08 +0300 Subject: Move inventory index related constants into separate file. --- src/net/tmwa/inventoryhandler.cpp | 2 ++ src/net/tmwa/inventoryrecv.cpp | 2 ++ src/net/tmwa/npchandler.cpp | 2 ++ src/net/tmwa/tradehandler.cpp | 2 ++ src/net/tmwa/traderecv.cpp | 2 ++ 5 files changed, 10 insertions(+) (limited to 'src/net/tmwa') diff --git a/src/net/tmwa/inventoryhandler.cpp b/src/net/tmwa/inventoryhandler.cpp index f4af144ea..189eae351 100644 --- a/src/net/tmwa/inventoryhandler.cpp +++ b/src/net/tmwa/inventoryhandler.cpp @@ -24,6 +24,8 @@ #include "item.h" +#include "const/net/inventory.h" + #include "enums/equipslot.h" #include "net/tmwa/messageout.h" diff --git a/src/net/tmwa/inventoryrecv.cpp b/src/net/tmwa/inventoryrecv.cpp index 815e4333c..ee5323095 100644 --- a/src/net/tmwa/inventoryrecv.cpp +++ b/src/net/tmwa/inventoryrecv.cpp @@ -26,6 +26,8 @@ #include "being/localplayer.h" +#include "const/net/inventory.h" + #include "enums/resources/notifytypes.h" #include "listeners/arrowslistener.h" diff --git a/src/net/tmwa/npchandler.cpp b/src/net/tmwa/npchandler.cpp index 71b5ce1d2..eac7c883d 100644 --- a/src/net/tmwa/npchandler.cpp +++ b/src/net/tmwa/npchandler.cpp @@ -24,6 +24,8 @@ #include "being/localplayer.h" +#include "const/net/inventory.h" + #include "gui/windows/npcdialog.h" #include "gui/widgets/createwidget.h" diff --git a/src/net/tmwa/tradehandler.cpp b/src/net/tmwa/tradehandler.cpp index 14e407bb9..7a4161388 100644 --- a/src/net/tmwa/tradehandler.cpp +++ b/src/net/tmwa/tradehandler.cpp @@ -26,6 +26,8 @@ #include "being/playerinfo.h" +#include "const/net/inventory.h" + #include "net/tmwa/messageout.h" #include "net/tmwa/protocolout.h" diff --git a/src/net/tmwa/traderecv.cpp b/src/net/tmwa/traderecv.cpp index e616313c0..d5e6ab586 100644 --- a/src/net/tmwa/traderecv.cpp +++ b/src/net/tmwa/traderecv.cpp @@ -30,6 +30,8 @@ #include "being/playerrelation.h" #include "being/playerrelations.h" +#include "const/net/inventory.h" + #include "enums/resources/notifytypes.h" #include "gui/windows/tradewindow.h" -- cgit v1.2.3-70-g09d2