From 1d9555a6d27600a8a37e953a7a3fcc4daeef2f0e Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 25 Jan 2010 07:36:20 +0000 Subject: [PATCH] support ScoreKeeperShared in ScoreKeeper::MakeScoreKeeper --- stepmania/src/ScoreKeeper.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stepmania/src/ScoreKeeper.cpp b/stepmania/src/ScoreKeeper.cpp index e1c912586c..09dbde1fa7 100644 --- a/stepmania/src/ScoreKeeper.cpp +++ b/stepmania/src/ScoreKeeper.cpp @@ -32,6 +32,7 @@ void ScoreKeeper::GetScoreOfLastTapInRow( const NoteData &nd, int iRow, #include "ScoreKeeperNormal.h" #include "ScoreKeeperGuitar.h" +#include "ScoreKeeperShared.h" ScoreKeeper* ScoreKeeper::MakeScoreKeeper( RString sClassName, PlayerState *pPlayerState, PlayerStageStats *pPlayerStageStats ) { @@ -39,6 +40,8 @@ ScoreKeeper* ScoreKeeper::MakeScoreKeeper( RString sClassName, PlayerState *pPla return new ScoreKeeperNormal( pPlayerState, pPlayerStageStats ); else if( sClassName == "ScoreKeeperGuitar" ) return new ScoreKeeperGuitar( pPlayerState, pPlayerStageStats ); + else if( sClassName == "ScoreKeeperShared" ) + return new ScoreKeeperShared( pPlayerState, pPlayerStageStats ); FAIL_M( sClassName ); }