From 2e05545ec7f7a927080c7ba47f0862aa8af57051 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 19 Jul 2005 07:46:45 +0000 Subject: [PATCH] fix memleak --- stepmania/src/Actor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/Actor.cpp b/stepmania/src/Actor.cpp index ce7c19a91f..6bb5180db9 100644 --- a/stepmania/src/Actor.cpp +++ b/stepmania/src/Actor.cpp @@ -38,7 +38,7 @@ void Actor::SetBGMLight( int iLightNumber, float fCabinetLights ) * that shouldn't change the position of the actor. */ void Actor::Reset() { - m_Tweens.clear(); + StopTweening(); m_pTempState = NULL;