port: net: skip intro cutscene if netgame requested on command line

This commit is contained in:
fgsfds committed 2024-01-15 13:10:57 +01:00
1 parent c4b1a8d4a2
commit c444e76ecb
1 file changed
+9
+9
View File
@@ -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)