From be6a396bab92806e5325d693162ff6dcb6c9ac7f Mon Sep 17 00:00:00 2001 From: Charles Lohr Date: Tue, 6 Apr 2004 02:05:34 +0000 Subject: [PATCH] I added a second checkpoint for starting to prevent DeadOnStart issue. --- stepmania/src/ScreenGameplay.cpp | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/stepmania/src/ScreenGameplay.cpp b/stepmania/src/ScreenGameplay.cpp index b52b3526df..7379815409 100644 --- a/stepmania/src/ScreenGameplay.cpp +++ b/stepmania/src/ScreenGameplay.cpp @@ -396,6 +396,16 @@ void ScreenGameplay::Init() break; } + // + // Before the lifemeter loads, if Networking is required + // we need to wait, so that there is no Dead On Start issues. + // if you wait too long at the second checkpoint, you will + // appear dead when you begin your game. + // + NSMAN->StartRequest(); + + + // // Add individual life meter // @@ -1057,7 +1067,9 @@ float ScreenGameplay::StartPlayingSong(float MinTimeToNotes, float MinTimeToMusi p.StopMode = RageSoundParams::M_CONTINUE; p.m_StartSecond = fStartSecond; - NSMAN->StartRequest(); //Network Code. + //Secondary (Precice) start request + //used for syncing up songs. + NSMAN->StartRequest(); m_soundMusic->Play( &p );