game: Counter doesn't seem to send the location IDs.

This makes Leave Counter send a command 0812, which is halfway fixing it.
This commit is contained in:
Loïc Hoguin 2010-06-04 23:02:45 +02:00
parent f93b469b64
commit 7e67dfbc6d

View File

@ -220,8 +220,8 @@ counter_load(CSocket, GID, Quest, MapType, MapNumber, MapEntry) ->
% 010d
egs_proto:send_zone_init(CSocket, GID, mission),
egs_proto:send_zone(CSocket, ZoneFile),
egs_proto:send_map(CSocket, MapType, MapNumber, MapEntry),
egs_proto:send_location(CSocket, GID, Quest, MapType, MapNumber, AreaName),
egs_proto:send_map(CSocket, 0, 0, 0),
egs_proto:send_location(CSocket, GID, 16#7fffffff, 0, 0, AreaName),
% 0215 0215
send_packet_020c(CSocket),
% 1202 1204 1206 1207