From b29f884b951b2ebf257a842f5b3fb302767479c4 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 19 Dec 2006 09:05:27 +0000 Subject: [PATCH] remove old param --- stepmania/src/StepMania.cpp | 4 ++-- stepmania/src/StepMania.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/stepmania/src/StepMania.cpp b/stepmania/src/StepMania.cpp index 496e7742e1..b3a9cc8dc6 100644 --- a/stepmania/src/StepMania.cpp +++ b/stepmania/src/StepMania.cpp @@ -1193,7 +1193,7 @@ RString StepMania::SaveScreenshot( RString sDir, bool bSaveCompressed, bool bMak return sFileName; } -void StepMania::InsertCoin( int iNum, const RageTimer *pTime ) +void StepMania::InsertCoin( int iNum ) { for( int i = 0; i < iNum; ++i ) LIGHTSMAN->PulseCoinCounter(); @@ -1241,7 +1241,7 @@ bool HandleGlobalInputs( const InputEventPlus &input ) LOG->Trace( "Ignored coin insertion (editing)" ); break; } - StepMania::InsertCoin( 1, &input.DeviceI.ts ); + StepMania::InsertCoin(); return false; // Attract need to know because they go to TitleMenu on > 1 credit } diff --git a/stepmania/src/StepMania.h b/stepmania/src/StepMania.h index cf7ba70a49..f1f069a8c0 100644 --- a/stepmania/src/StepMania.h +++ b/stepmania/src/StepMania.h @@ -17,7 +17,7 @@ namespace StepMania // If successful, return filename of screenshot in sDir, else return "" RString SaveScreenshot( RString sDir, bool bSaveCompressed, bool bMakeSignature, int iIndex = -1 ); - void InsertCoin( int iNum = 1, const RageTimer *pTime = NULL ); + void InsertCoin( int iNum = 1 ); void InsertCredit(); void GetPreferredVideoModeParams( VideoModeParams ¶msOut );