fix copy-paste error in MoreSaveSlots patch
This commit is contained in:
@@ -4607,6 +4607,8 @@ struct G_PlayerDied_6x4D {
|
|||||||
} __packed_ws__(G_PlayerDied_6x4D, 8);
|
} __packed_ws__(G_PlayerDied_6x4D, 8);
|
||||||
|
|
||||||
// 6x4E: Player is dead can be revived (protected on V3/V4)
|
// 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 {
|
struct G_PlayerRevivable_6x4E {
|
||||||
G_ClientIDHeader header;
|
G_ClientIDHeader header;
|
||||||
|
|||||||
@@ -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)) {
|
if (l->log.should_log(phosg::LogLevel::L_INFO)) {
|
||||||
auto s = c->require_server_state();
|
auto s = c->require_server_state();
|
||||||
auto name = s->describe_item(c->version(), item);
|
auto name = s->describe_item(c->version(), item);
|
||||||
l->log.info_f("Player {} purchased item {:08X} ({}) for {} meseta",
|
l->log.info_f("Player {} purchased item {:08X} ({}) for {} meseta", c->lobby_client_id, item.id, name, price);
|
||||||
c->lobby_client_id, item.id, name, price);
|
|
||||||
c->print_inventory();
|
c->print_inventory();
|
||||||
}
|
}
|
||||||
co_return;
|
co_return;
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ enable_scroll_start:
|
|||||||
mov dword [eax + ecx + 0x30], 0x425EA3D7
|
mov dword [eax + ecx + 0x30], 0x425EA3D7
|
||||||
mov dword [eax + ecx + 0x34], 0x00000008
|
mov dword [eax + ecx + 0x34], 0x00000008
|
||||||
mov dword [eax + ecx + 0x38], 0x00000000
|
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
|
or dword [eax + 0xF0], 1 # scroll_bar->flags |= 1
|
||||||
mov ecx, [eax + 0xEC]
|
mov ecx, [eax + 0xEC]
|
||||||
shl ecx, 4
|
shl ecx, 4
|
||||||
|
|||||||
Reference in New Issue
Block a user