From 2c1f32cd3ea4b6d0b88ddc5224d441bdd4cfebdf Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 27 Jul 2005 01:52:46 +0000 Subject: [PATCH] warnings --- stepmania/src/GameSoundManager.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/stepmania/src/GameSoundManager.cpp b/stepmania/src/GameSoundManager.cpp index 020fa98695..03b1371f12 100644 --- a/stepmania/src/GameSoundManager.cpp +++ b/stepmania/src/GameSoundManager.cpp @@ -562,9 +562,7 @@ void GameSoundManager::Update( float fDeltaTime ) { if( GetNoteType( r ) == NOTE_TYPE_4TH ) { - int iBeat = NoteRowToBeat( r ); - if( iBeat == 16 ) - int kfjg =0; + int iBeat = (int) NoteRowToBeat( r ); MESSAGEMAN->Broadcast( ssprintf("CrossedBeat%d", iBeat) ); } }