From eeed70ea55be87ec49f51326a8d643c9a16e24ae Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 28 Jul 2006 21:43:35 +0000 Subject: [PATCH] cleanup --- stepmania/src/Sprite.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/Sprite.cpp b/stepmania/src/Sprite.cpp index e799050583..692616d7e7 100644 --- a/stepmania/src/Sprite.cpp +++ b/stepmania/src/Sprite.cpp @@ -708,7 +708,7 @@ void Sprite::SetCustomImageRect( RectF rectImageCoords ) // Convert to a rectangle in texture coordinate space. rectImageCoords.left *= m_pTexture->GetImageWidth() / (float)m_pTexture->GetTextureWidth(); rectImageCoords.right *= m_pTexture->GetImageWidth() / (float)m_pTexture->GetTextureWidth(); - rectImageCoords.top *= m_pTexture->GetImageHeight() / (float)m_pTexture->GetTextureHeight(); + rectImageCoords.top *= m_pTexture->GetImageHeight() / (float)m_pTexture->GetTextureHeight(); rectImageCoords.bottom *= m_pTexture->GetImageHeight() / (float)m_pTexture->GetTextureHeight(); SetCustomTextureRect( rectImageCoords );