summaryrefslogtreecommitdiff
path: root/src/map/chrif.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-07-01 17:03:58 -0300
committershennetsind <ind@henn.et>2013-07-01 17:03:58 -0300
commit8de3c1118a6a7a235cc7a3e77f24b0c4c5c397ae (patch)
tree19f4867edc832db018feb79f51f501b3cd970d9b /src/map/chrif.c
parentc1401ff17207e9c2aac551066f0bd90928dd90bb (diff)
downloadhercules-8de3c1118a6a7a235cc7a3e77f24b0c4c5c397ae.tar.gz
hercules-8de3c1118a6a7a235cc7a3e77f24b0c4c5c397ae.tar.bz2
hercules-8de3c1118a6a7a235cc7a3e77f24b0c4c5c397ae.tar.xz
hercules-8de3c1118a6a7a235cc7a3e77f24b0c4c5c397ae.zip
Fixed Bug #7216
Special Thanks to Shikazu, wouldn't have been able to identify this issue without his help! http://hercules.ws/board/index.php?app=tracker&showissue=7216 Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/chrif.c')
-rw-r--r--src/map/chrif.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c
index 80c82354c..c2067dbd1 100644
--- a/src/map/chrif.c
+++ b/src/map/chrif.c
@@ -48,6 +48,8 @@ static const int packet_len_table[0x3d] = { // U - used, F - free
-1,10, 8, 2, 2,14,19,19, // 2b20-2b27: U->2b20, U->2b21, U->2b22, U->2b23, U->2b24, U->2b25, U->2b26, U->2b27
};
+struct chrif_interface chrif_s;
+
//Used Packets:
//2af8: Outgoing, chrif_connect -> 'connect to charserver / auth @ charserver'
//2af9: Incoming, chrif_connectack -> 'answer of the 2af8 login(ok / fail)'