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 ); }