diff options
Diffstat (limited to 'src/net/tmwserv/inventoryhandler.cpp')
-rw-r--r-- | src/net/tmwserv/inventoryhandler.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/tmwserv/inventoryhandler.cpp b/src/net/tmwserv/inventoryhandler.cpp index a342c1d3..cedeb465 100644 --- a/src/net/tmwserv/inventoryhandler.cpp +++ b/src/net/tmwserv/inventoryhandler.cpp @@ -37,6 +37,8 @@ #include "resources/iteminfo.h" +Net::InventoryHandler *inventoryHandler; + InventoryHandler::InventoryHandler() { static const Uint16 _messages[] = { @@ -45,6 +47,7 @@ InventoryHandler::InventoryHandler() 0 }; handledMessages = _messages; + inventoryHandler = this; } void InventoryHandler::handleMessage(MessageIn &msg) |