From b2cd15d05596fb62a32d7fb16b1aa10869137079 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Fri, 4 Jun 2010 11:36:52 +0200 Subject: [PATCH] proto: Fix send_npc_info, schoolboy error. --- src/egs_proto.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/egs_proto.erl b/src/egs_proto.erl index 473257c..2bf064b 100644 --- a/src/egs_proto.erl +++ b/src/egs_proto.erl @@ -289,7 +289,7 @@ send_map(CSocket, Quest, MapType, MapNumber, MapEntry) -> send_npc_info(CSocket, GID) -> {ok, File} = file:read_file("p/npc.bin"), - Packet = << 16#16020300:16, 0:192, GID:32/little-unsigned-integer, 0:96, File/binary >>, + Packet = << 16#16020300:32, 0:160, 16#00011300:32, GID:32/little-unsigned-integer, 0:96, File/binary >>, packet_send(CSocket, Packet). %% @doc Send the player's partner card.