fix ep3 meseta command

This commit is contained in:
Martin Michelsen
2022-05-19 00:20:50 -07:00
parent 9d13df4749
commit 228fedece1
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1235,7 +1235,7 @@ struct C_Meseta_GC_Ep3_BA {
struct S_Meseta_GC_Ep3_BA {
le_uint32_t remaining_meseta;
le_uint32_t unknown; // Sylverant documents this as "total meseta ever earned"
le_uint32_t total_meseta_awarded;
le_uint32_t request_token; // Should match the token sent by the client
};
+1 -1
View File
@@ -399,7 +399,7 @@ void process_ep3_jukebox(shared_ptr<ServerState> s, shared_ptr<Client> c,
uint16_t command, uint32_t, const string& data) {
const auto& in_cmd = check_size_t<C_Meseta_GC_Ep3_BA>(data);
S_Meseta_GC_Ep3_BA out_cmd = {1000000, 0x80E8, in_cmd.request_token};
S_Meseta_GC_Ep3_BA out_cmd = {1000000, 1000000, in_cmd.request_token};
auto l = s->find_lobby(c->lobby_id);
if (!l || !(l->flags & Lobby::Flag::EPISODE_3_ONLY)) {