summaryrefslogtreecommitdiff
path: root/src/net/ea/protocol.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-27 23:25:43 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-27 23:28:19 +0100
commit4f02ad59df9ee3314fb0d429a031ecbfa3206e3a (patch)
tree90b7afc312b7385061d25db753e8d1e500c83e69 /src/net/ea/protocol.h
parentf67237cb69599753192c301f0f2eb38b88f7b57a (diff)
downloadMana-4f02ad59df9ee3314fb0d429a031ecbfa3206e3a.tar.gz
Mana-4f02ad59df9ee3314fb0d429a031ecbfa3206e3a.tar.bz2
Mana-4f02ad59df9ee3314fb0d429a031ecbfa3206e3a.tar.xz
Mana-4f02ad59df9ee3314fb0d429a031ecbfa3206e3a.zip
Moved the inventory and storage offset handling into netcode
No need to complicate the item containers and inventory classes with a silly offset used by the eAthena server. Also fixed the logToStandardOut option by reading it from the config after the configuration has been initialized.
Diffstat (limited to 'src/net/ea/protocol.h')
-rw-r--r--src/net/ea/protocol.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/ea/protocol.h b/src/net/ea/protocol.h
index c96ff7b6..a70e47b4 100644
--- a/src/net/ea/protocol.h
+++ b/src/net/ea/protocol.h
@@ -22,6 +22,9 @@
#ifndef EA_PROTOCOL_H
#define EA_PROTOCOL_H
+static const int INVENTORY_OFFSET = 2;
+static const int STORAGE_OFFSET = 1;
+
/*********************************
* Packets from server to client *
*********************************/