From 6f88c3d31a428c2df7b822495bb54b37e00c8318 Mon Sep 17 00:00:00 2001 From: Martin Michelsen Date: Mon, 22 Sep 2025 09:20:45 -0700 Subject: [PATCH] fix size field in 6xDD --- src/SendCommands.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/SendCommands.cc b/src/SendCommands.cc index 666233c7..1816f1fa 100644 --- a/src/SendCommands.cc +++ b/src/SendCommands.cc @@ -3261,7 +3261,8 @@ void send_set_exp_multiplier(shared_ptr l) { if (!l->is_game()) { throw logic_error("6xDD can only be sent in games (not in lobbies)"); } - G_SetFractionalEXPMultiplier_Extension_BB_6xDD cmd = {{0xDD, sizeof(G_SetEXPMultiplier_BB_6xDD) / 4, 1}, 1.0f}; + G_SetFractionalEXPMultiplier_Extension_BB_6xDD cmd = { + {0xDD, sizeof(G_SetFractionalEXPMultiplier_Extension_BB_6xDD) / 4, 1}, 1.0f}; if (l->mode != GameMode::CHALLENGE) { cmd.header.param = l->base_exp_multiplier; cmd.multiplier = l->base_exp_multiplier;