summaryrefslogtreecommitdiff
path: root/src/map/clif.h
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-20 21:57:33 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-20 21:57:33 +0000
commit95acae21f2c3d1f76109f6d9c5a8121f1474a923 (patch)
treecdb6dc410692d5d299e91f81ca8f289c59725c4c /src/map/clif.h
parent131e693e935468ab8d247c9f4483851b51c25c28 (diff)
downloadhercules-95acae21f2c3d1f76109f6d9c5a8121f1474a923.tar.gz
hercules-95acae21f2c3d1f76109f6d9c5a8121f1474a923.tar.bz2
hercules-95acae21f2c3d1f76109f6d9c5a8121f1474a923.tar.xz
hercules-95acae21f2c3d1f76109f6d9c5a8121f1474a923.zip
- Added ntows() to properly handle that client port number deficiency
- Adjusted the packet_db array for a more consistent look - Reorganized some entries in packet_db.txt - Fixed a small scripts_custom.conf typo git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10296 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.h')
-rw-r--r--src/map/clif.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.h b/src/map/clif.h
index 947f63a9d..13506be11 100644
--- a/src/map/clif.h
+++ b/src/map/clif.h
@@ -8,7 +8,7 @@
// packet DB
#define MAX_PACKET_DB 0x300
-#define MAX_PACKET_VER 25
+#define MAX_PACKET_VER 21
struct packet_db {
short len;
@@ -48,7 +48,7 @@ enum {
// packet_db[SERVER] is reserved for server use
#define SERVER 0
#define packet_len(x) packet_db[SERVER][x].len
-extern struct packet_db packet_db[MAX_PACKET_VER + 1][MAX_PACKET_DB];
+extern struct packet_db packet_db[MAX_PACKET_VER + 1][MAX_PACKET_DB + 1];
int clif_setip(const char* ip);
void clif_setbindip(const char* ip);