Skip to content

Commit

Permalink
Merge pull request #3312 from guilherme-gm/fix-online-accounts
Browse files Browse the repository at this point in the history
Fix size of PACKET_CHARLOGIN_ONLINE_ACCOUNTS
  • Loading branch information
MishimaHaruna authored Aug 31, 2024
2 parents 216c752 + 1fed71a commit bcf1be3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/char/char.c
Original file line number Diff line number Diff line change
Expand Up @@ -5329,7 +5329,7 @@ static int char_send_accounts_tologin(int tid, int64 tick, int id, intptr_t data
p->packetLength = sizeof(struct PACKET_CHARLOGIN_ONLINE_ACCOUNTS) + sizeof(*p->accounts) * i;
p->list_length = i;

WFIFOSET(chr->login_fd, len);
WFIFOSET(chr->login_fd, p->packetLength);
}
return 0;
}
Expand Down

0 comments on commit bcf1be3

Please sign in to comment.