Skip to content

Commit

Permalink
port: net: skip intro cutscene if netgame requested on command line
Browse files Browse the repository at this point in the history
  • Loading branch information
fgsfdsfgs committed Jan 15, 2024
1 parent c4b1a8d commit c444e76
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/game/player.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c444e76

Please sign in to comment.