From 4cd82caa5f22f69fbfa71235af36a3efe85f9fdc Mon Sep 17 00:00:00 2001 From: Martin Michelsen Date: Fri, 1 Dec 2023 21:34:51 -0800 Subject: [PATCH] fix GC NTE episode number when creating games --- src/ReceiveCommands.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ReceiveCommands.cc b/src/ReceiveCommands.cc index 8f2a7655..8dcb8544 100644 --- a/src/ReceiveCommands.cc +++ b/src/ReceiveCommands.cc @@ -4047,7 +4047,7 @@ static void on_0C_C1_E7_EC(shared_ptr c, uint16_t command, uint32_t, str Episode episode = Episode::NONE; bool allow_v1 = false; - if (is_v1_or_v2(c->version())) { + if (is_v1_or_v2(c->version()) && (c->version() != Version::GC_NTE)) { allow_v1 = (cmd.episode == 0); episode = Episode::EP1; } else if (client_is_ep3) {