diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/emap/send.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/emap/send.c b/src/emap/send.c index da321fb..36e05e9 100644 --- a/src/emap/send.c +++ b/src/emap/send.c @@ -118,6 +118,10 @@ void send_changelook(struct map_session_data* sd, struct map_session_data* sd2, //ShowWarning("card %d\n", data->nameid); WFIFOW (fd, 11 + i * 2) = data->nameid; } + else + { + WFIFOW (fd, 11 + i * 2) = 0; + } } for (i = data->slot; i < MAX_SLOTS; i ++) WFIFOW (fd, 11 + i * 2) = 0; @@ -389,6 +393,10 @@ void send_changelook2(struct map_session_data* sd, struct block_list *bl, int id //ShowWarning("card %d\n", data->nameid); WBUFW(buf, 11 + i * 2) = data->nameid; } + else + { + WBUFW(buf, 11 + i * 2) = 0; + } } for (i = data->slot; i < MAX_SLOTS; i ++) WBUFW(buf, 11 + i * 2) = 0; |