mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-23 15:52:41 +02:00
port: net: skip intro cutscene if netgame requested on command line
This commit is contained in:
1 parent
c4b1a8d4a2
commit
c444e76ecb
1 file changed
+9
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user