fix PlayerBB struct length

This commit is contained in:
Martin Michelsen
2022-05-12 10:45:44 -07:00
parent ba03d70a2e
commit 71d78839a4
3 changed files with 27 additions and 29 deletions
+1 -1
View File
@@ -1362,7 +1362,7 @@ void process_change_account_data_bb(shared_ptr<ServerState>, shared_ptr<Client>
}
void process_return_player_data_bb(shared_ptr<ServerState>, shared_ptr<Client> c,
uint16_t, uint32_t, const string& data) {
uint16_t, uint32_t, const string& data) { // 00E7
const auto& cmd = check_size_t<PlayerBB>(data);
// We only trust the player's quest data and challenge data.