summaryrefslogtreecommitdiff
path: root/src/echar
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-16 19:40:07 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-16 19:40:07 +0300
commit8cf0fdba8fa2efca6e09a08f4c17325a7cd10a98 (patch)
tree1bb8a2ac537bd1a2f7d9123ea803a8a9cb383221 /src/echar
parentb4409352f8aae56483133b4086a580e60660f761 (diff)
downloadevol-hercules-8cf0fdba8fa2efca6e09a08f4c17325a7cd10a98.tar.gz
evol-hercules-8cf0fdba8fa2efca6e09a08f4c17325a7cd10a98.tar.bz2
evol-hercules-8cf0fdba8fa2efca6e09a08f4c17325a7cd10a98.tar.xz
evol-hercules-8cf0fdba8fa2efca6e09a08f4c17325a7cd10a98.zip
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.
Diffstat (limited to 'src/echar')
-rw-r--r--src/echar/char.c2
1 files changed, 1 insertions, 1 deletions
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;