From c9be7aafca0261fecd5b30d41ed31f04731922ca Mon Sep 17 00:00:00 2001 From: Charles Lohr Date: Thu, 16 Sep 2004 21:50:21 +0000 Subject: [PATCH] Fix: Don't make force start crash other players. --- stepmania/Docs/SMLanProtocol.txt | 1 + stepmania/src/ScreenNetSelectMusic.cpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/stepmania/Docs/SMLanProtocol.txt b/stepmania/Docs/SMLanProtocol.txt index 5609fad5d2..405a4c8bb3 100644 --- a/stepmania/Docs/SMLanProtocol.txt +++ b/stepmania/Docs/SMLanProtocol.txt @@ -256,6 +256,7 @@ NOTE: Server responces always add 128, thus a server responce for no operation 0: See if client has song 1: See if client has song, if so, scroll to song 2: See if client has song, if so, scroll to song, and play that song + 3: Blindly start song NT Song Title (As gotten by GetTranslitMainTitle) NT Song Artist (As Gotten by GetTranslitArtist) NT Song Subtitle (As gotten by GetTranslitSubTitle) diff --git a/stepmania/src/ScreenNetSelectMusic.cpp b/stepmania/src/ScreenNetSelectMusic.cpp index f1c3b9d7e9..2ac2569865 100644 --- a/stepmania/src/ScreenNetSelectMusic.cpp +++ b/stepmania/src/ScreenNetSelectMusic.cpp @@ -380,6 +380,8 @@ void ScreenNetSelectMusic::HandleScreenMessage( const ScreenMessage SM ) switch (NSMAN->m_iSelectMode) { + case 3: + StartSelectedSong(); case 2: //We need to do cmd 1 as well here if (haveSong) {