document more Ep3 battle subcommands

This commit is contained in:
Martin Michelsen
2023-10-05 10:28:34 -07:00
parent 682632f1c5
commit ab3c27772e
3 changed files with 52 additions and 48 deletions
+2 -2
View File
@@ -370,8 +370,8 @@ static void on_ep3_battle_subs(shared_ptr<Client> c, uint8_t command, uint8_t fl
if (header.subsubcommand == 0x1A) {
return;
} else if (header.subsubcommand == 0x36) {
const auto& cmd = check_size_t<G_Unknown_GC_Ep3_6xB5x36>(data, size);
if (l->is_game() && (cmd.unknown_a1 >= 4)) {
const auto& cmd = check_size_t<G_RecreatePlayer_GC_Ep3_6xB5x36>(data, size);
if (l->is_game() && (cmd.client_id >= 4)) {
return;
}
}