From de0134628b25aa8331f006fd354f8bd427219ecc Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 9 Jun 2004 01:57:16 +0000 Subject: [PATCH] don't include base zoom in GetUnzoomed; it's used to set the base zoom (eg. BitmapText::UpdateBaseZoom) --- stepmania/src/Actor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/Actor.h b/stepmania/src/Actor.h index 003fe378ad..e2c02f9dd0 100644 --- a/stepmania/src/Actor.h +++ b/stepmania/src/Actor.h @@ -103,8 +103,8 @@ public: void SetXY( float x, float y ) { DestTweenState().pos.x = x; DestTweenState().pos.y = y; }; // height and width vary depending on zoom - float GetUnzoomedWidth() { return m_size.x * m_baseScale.x; } - float GetUnzoomedHeight() { return m_size.y * m_baseScale.y; } + float GetUnzoomedWidth() { return m_size.x; } + float GetUnzoomedHeight() { return m_size.y; } float GetZoomedWidth() { return m_size.x * m_baseScale.x * DestTweenState().scale.x; } float GetZoomedHeight() { return m_size.y * m_baseScale.y * DestTweenState().scale.y; } void SetWidth( float width ) { m_size.x = width; }