use ScoreDisplayPercentage

This commit is contained in:
Glenn Maynard
2003-10-05 05:24:50 +00:00
parent 5238d81c6e
commit cc1ee0d314
+5 -1
View File
@@ -23,6 +23,7 @@
#include "LifeMeterBattery.h"
#include "GameState.h"
#include "ScoreDisplayNormal.h"
#include "ScoreDisplayPercentage.h"
#include "ScoreDisplayOni.h"
#include "ScoreDisplayBattle.h"
#include "ScoreDisplayRave.h"
@@ -422,7 +423,10 @@ ScreenGameplay::ScreenGameplay( CString sName, bool bDemonstration ) : Screen("S
{
case PLAY_MODE_ARCADE:
case PLAY_MODE_NONSTOP:
m_pScoreDisplay[p] = new ScoreDisplayNormal;
if( PREFSMAN->m_bPercentageScoring )
m_pScoreDisplay[p] = new ScoreDisplayPercentage;
else
m_pScoreDisplay[p] = new ScoreDisplayNormal;
break;
case PLAY_MODE_ONI:
case PLAY_MODE_ENDLESS: