diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-05 18:08:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-05 18:08:00 +0300 |
commit | fe35746fee786c7337afca9cd98511227ae13c0a (patch) | |
tree | 1981c9fd2599aed3f461848fb2538534e334a904 /src/echar | |
parent | 7b9a72c59e83b6c7ad373cbe5a9de357ecee6c89 (diff) | |
download | plugin-fe35746fee786c7337afca9cd98511227ae13c0a.tar.gz plugin-fe35746fee786c7337afca9cd98511227ae13c0a.tar.bz2 plugin-fe35746fee786c7337afca9cd98511227ae13c0a.tar.xz plugin-fe35746fee786c7337afca9cd98511227ae13c0a.zip |
In char server prevent send items to slot 0.
Diffstat (limited to 'src/echar')
-rw-r--r-- | src/echar/char.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/echar/char.c b/src/echar/char.c index ecf02ca..2b891d2 100644 --- a/src/echar/char.c +++ b/src/echar/char.c @@ -308,6 +308,8 @@ void send_additional_slots(int fd, struct char_session_data* sd) break; } + if (type == 0) + continue; WFIFOHEAD (fd, 19); WFIFOW (fd, 0) = 0xb17; WFIFOL (fd, 2) = char_id; |