From 7e17c02ad3fbe4ba3ece6a756d55523bb1b16cce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Fri, 4 Jun 2010 18:55:16 +0200 Subject: [PATCH] proto: Fix send_zone (020f) for conformance. --- 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 27faf97..7184a00 100644 --- a/src/egs_proto.erl +++ b/src/egs_proto.erl @@ -293,7 +293,7 @@ send_universe_info(CSocket, GID) -> send_zone(CSocket, Filename) -> {ok, File} = file:read_file(Filename), Size = byte_size(File), - Packet = << 16#020f:16, 0:336, Size:32/little-unsigned-integer, File/binary >>, + Packet = << 16#020f0300:32, 0:288, 16#00ff0000:32, Size:32/little-unsigned-integer, File/binary >>, packet_send(CSocket, Packet). %% @doc Send the zone initialization notification.