From c444e76ecb6b5b6c1be1ceb617907b8368226b95 Mon Sep 17 00:00:00 2001 From: fgsfds Date: Mon, 15 Jan 2024 13:10:57 +0100 Subject: [PATCH] port: net: skip intro cutscene if netgame requested on command line --- src/game/player.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/game/player.c b/src/game/player.c index 4c6c540b1..c22e7e5ad 100644 --- a/src/game/player.c +++ b/src/game/player.c @@ -2056,6 +2056,15 @@ void playerTickCutscene(bool arg0) } } #endif + +#ifndef PLATFORM_N64 + if (g_Vars.stagenum == STAGE_CITRAINING) { + if (g_CutsceneCurTotalFrame60f > 10 && (g_NetHostLatch || g_NetJoinLatch)) { + // just booted up and host/join was requested from command line, skip the intro cutscene + g_CutsceneSkipRequested = true; + } + } +#endif } f32 playerGetCutsceneBlurFrac(void)