Browse Source

fixed a bug in clif.c

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@948 54d463be-8e91-2dee-dedb-b68131a5f0ec
Lupus 20 years ago
parent
commit
c235d956bf
2 changed files with 4 additions and 1 deletions
  1. 3 0
      Changelog.txt
  2. 1 1
      src/map/clif.c

+ 3 - 0
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]

+ 1 - 1
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 {