From c9afb6b3763c763b1f518a79bdda4a454d79b286 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 6 Feb 2005 19:47:11 +0000 Subject: [PATCH] fix g++ compile --- stepmania/src/ComboGraph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/ComboGraph.cpp b/stepmania/src/ComboGraph.cpp index ed8466eeaf..ccdf8be8c5 100644 --- a/stepmania/src/ComboGraph.cpp +++ b/stepmania/src/ComboGraph.cpp @@ -30,7 +30,7 @@ void ComboGraph::Load( CString Path, const StageStats &s, PlayerNumber pn ) LOG->Trace("combo %i is %f+%f", i, combo.fStartSecond, combo.fSizeSeconds); Sprite *sprite = new Sprite; sprite->SetName( "ComboBar" ); - sprite->Load( THEME->GetPathToG(Path + IsMax?"max":"normal") ); + sprite->Load( THEME->GetPathToG(Path + (IsMax?"max":"normal")) ); const float start = SCALE( combo.fStartSecond, s.m_player[pn].fFirstSecond, s.m_player[pn].fLastSecond, 0.0f, 1.0f ); const float size = SCALE( combo.fSizeSeconds, 0, s.m_player[pn].fLastSecond-s.m_player[pn].fFirstSecond, 0.0f, 1.0f );