From 912fec458f1e6298d38575a83fc6c0358bba97da Mon Sep 17 00:00:00 2001 From: Martin Michelsen Date: Mon, 19 Jun 2023 19:32:58 -0700 Subject: [PATCH] don't send 6xBE if 6xC9 requests nothing --- src/ReceiveSubcommands.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ReceiveSubcommands.cc b/src/ReceiveSubcommands.cc index 4e501ea9..ca88014c 100644 --- a/src/ReceiveSubcommands.cc +++ b/src/ReceiveSubcommands.cc @@ -1514,7 +1514,7 @@ void on_meseta_reward_request_bb(shared_ptr, } else { p->disp.meseta += cmd.amount; } - } else { + } else if (cmd.amount > 0) { PlayerInventoryItem item; item.data.data1[0] = 0x04; item.data.data2d = cmd.amount.load();