fix copy-paste error in MoreSaveSlots patch

This commit is contained in:
Martin Michelsen
2025-06-24 20:53:33 -07:00
parent cff5ad23fc
commit 148db03a9a
3 changed files with 4 additions and 3 deletions
+2
View File
@@ -4607,6 +4607,8 @@ struct G_PlayerDied_6x4D {
} __packed_ws__(G_PlayerDied_6x4D, 8);
// 6x4E: Player is dead can be revived (protected on V3/V4)
// This command creates the particle effect that Reverser and Moon Atomizers
// can target.
struct G_PlayerRevivable_6x4E {
G_ClientIDHeader header;
+1 -2
View File
@@ -4417,8 +4417,7 @@ static asio::awaitable<void> on_buy_shop_item_bb(shared_ptr<Client> c, Subcomman
if (l->log.should_log(phosg::LogLevel::L_INFO)) {
auto s = c->require_server_state();
auto name = s->describe_item(c->version(), item);
l->log.info_f("Player {} purchased item {:08X} ({}) for {} meseta",
c->lobby_client_id, item.id, name, price);
l->log.info_f("Player {} purchased item {:08X} ({}) for {} meseta", c->lobby_client_id, item.id, name, price);
c->print_inventory();
}
co_return;
@@ -75,7 +75,7 @@ enable_scroll_start:
mov dword [eax + ecx + 0x30], 0x425EA3D7
mov dword [eax + ecx + 0x34], 0x00000008
mov dword [eax + ecx + 0x38], 0x00000000
mov dword [eax + ecx + 0x2C], 0x3F800000
mov dword [eax + ecx + 0x3C], 0x00000000
or dword [eax + 0xF0], 1 # scroll_bar->flags |= 1
mov ecx, [eax + 0xEC]
shl ecx, 4