From 8cf0fdba8fa2efca6e09a08f4c17325a7cd10a98 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 16 Aug 2017 19:40:07 +0300 Subject: Add evol packets id offset. For now offset is 0. This allow to change evol packets id if they start conflicting with hercules packets in future. --- src/echar/char.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/echar') diff --git a/src/echar/char.c b/src/echar/char.c index e469ae1..220c28b 100644 --- a/src/echar/char.c +++ b/src/echar/char.c @@ -288,7 +288,7 @@ void send_additional_slots(int fd, struct char_session_data* sd) if (type == 0) continue; WFIFOHEAD (fd, 19); - WFIFOW (fd, 0) = 0xb17; + WFIFOW (fd, 0) = 0xb17 + evolPacketOffset; WFIFOL (fd, 2) = char_id; WFIFOB (fd, 6) = (unsigned char)type; WFIFOW (fd, 7) = name_id; -- cgit v1.2.3-70-g09d2