From 7541ef09b4778eb85e7a0792b8df91581c910d9b Mon Sep 17 00:00:00 2001 From: Charles Lohr Date: Thu, 27 Jan 2005 07:31:13 +0000 Subject: [PATCH] Fix: (Not the right way to fix it) don't crash when player number quantities are inconsistant. --- stepmania/src/ScreenNetEvaluation.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/stepmania/src/ScreenNetEvaluation.cpp b/stepmania/src/ScreenNetEvaluation.cpp index f3c5f59175..b71dc63d2e 100644 --- a/stepmania/src/ScreenNetEvaluation.cpp +++ b/stepmania/src/ScreenNetEvaluation.cpp @@ -125,6 +125,12 @@ void ScreenNetEvaluation::HandleScreenMessage( const ScreenMessage SM ) LOG->Trace("SMNETDebug:%d,%d",m_iActivePlayers,NSMAN->m_ActivePlayers); + //XXX: This does remove functionalty, but until + // the cause for the strange snowball ScreenManager + // crash can be found... this is the only way. + if ( m_iActivePlayers != NSMAN->m_ActivePlayers ) + return; + RedoUserTexts(); LOG->Trace("SMNETCheckpoint");