This commit is contained in:
Paul 2001-03-05 15:08:50 +00:00
parent 6f1a233edd
commit 4341a05be9

View File

@ -88,6 +88,14 @@ POWER-UPS
mm & bb ring timed mm & bb ring timed
*/ */
// mode:
// enter
// think
// render
// states setState()
// metrics getMetrics()
/*---------------------------------------------------------------------- /*----------------------------------------------------------------------
Function Prototypes Function Prototypes
------------------- */ ------------------- */
@ -1278,7 +1286,7 @@ PLAYERINPUT CPlayer::readPadInput()
crnt->m_length=1; crnt->m_length=1;
} }
s_demoFrameCount++; s_demoFrameCount++;
if(s_demoFrameCount==30*60) if(s_demoFrameCount==MAX_DEMO_TIME_IN_FRAMES)
{ {
writeDemoControls(); writeDemoControls();
ASSERT(!"DEMO ENDED"); ASSERT(!"DEMO ENDED");