From 0a5a9edc6e507709314622e2b9529e406c281e77 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 30 Jan 2006 05:23:58 +0000 Subject: [PATCH] fix weird stoptweening behavior --- 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 b74d93f173..214769f4de 100644 --- a/stepmania/src/Actor.cpp +++ b/stepmania/src/Actor.cpp @@ -1335,7 +1335,7 @@ public: p->BeginTweening( FArg(1), pTween ); return 0; } - static int stoptweening( T* p, lua_State *L ) { p->StopTweening(); p->BeginTweening( 0.0001f, TWEEN_LINEAR ); return 0; } + static int stoptweening( T* p, lua_State *L ) { p->StopTweening(); return 0; } static int finishtweening( T* p, lua_State *L ) { p->FinishTweening(); return 0; } static int hurrytweening( T* p, lua_State *L ) { p->HurryTweening(FArg(1)); return 0; } static int x( T* p, lua_State *L ) { p->SetX(FArg(1)); return 0; }