summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-01-10 23:44:53 +0000
committerLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-01-10 23:44:53 +0000
commitb1bdfe1d1d7da8f16991117b9743bce506aea7b5 (patch)
tree59d6d714da0e88e37d400e37e9255800e6af6c43
parentf4d39edff58dc2a8db9e517a6ffbe738e36b31e9 (diff)
downloadhercules-b1bdfe1d1d7da8f16991117b9743bce506aea7b5.tar.gz
hercules-b1bdfe1d1d7da8f16991117b9743bce506aea7b5.tar.bz2
hercules-b1bdfe1d1d7da8f16991117b9743bce506aea7b5.tar.xz
hercules-b1bdfe1d1d7da8f16991117b9743bce506aea7b5.zip
fixed a bug in clif.c
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@948 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog.txt3
-rw-r--r--src/map/clif.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/Changelog.txt b/Changelog.txt
index 1edf9f9ed..2b78f6083 100644
--- a/Changelog.txt
+++ b/Changelog.txt
@@ -1,4 +1,7 @@
Date Added
+01/11
+ * Fixed a bug in clif.c which didn't allow to enther the map-server.
+ It worked under win32, but didn't under Linux. [Lupus]
01/10
* Completed adding packet DB reading... still needs (a lot) more work in
clif.c [celest]
diff --git a/src/map/clif.c b/src/map/clif.c
index 54bf3a452..ee0d9cf93 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -115,7 +115,7 @@ static const int packet_len_table[MAX_PACKET_DB] = {
};
// size list for each packet version after packet version 4.
-static int packet_size_table[11][MAX_PACKET_DB];
+static int packet_size_table[12][MAX_PACKET_DB]; //fixed by Lupus
// local define
enum {