From b11788ce2b98006f7d50c09c16f39a7e7fa751f3 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 9 Oct 2003 06:38:54 +0000 Subject: [PATCH] Screen coordinates are float, not int (fixes warning). Use && for boolean and, not &. --- stepmania/src/GrayArrow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/GrayArrow.cpp b/stepmania/src/GrayArrow.cpp index 59e5ee7952..e742b2d304 100644 --- a/stepmania/src/GrayArrow.cpp +++ b/stepmania/src/GrayArrow.cpp @@ -49,8 +49,8 @@ bool GrayArrow::Load( CString NoteSkin, PlayerNumber pn, int iColNo ) sPath = NOTESKIN->GetPathTo( NoteSkin, Button, "KeypressBlock" ); bool ret2 = m_sprPressBlock.Load( sPath ); - m_sprPressBlock.SetXY(0, THEME->GetMetricI ("ScreenGameplay","PressBlockY")); - return ret&ret2; // return both loaded or fail + m_sprPressBlock.SetXY(0, THEME->GetMetricF("ScreenGameplay","PressBlockY")); + return ret && ret2; // return both loaded or fail } void GrayArrow::Update( float fDeltaTime )