fix weird stoptweening behavior

This commit is contained in:
Glenn Maynard
2006-01-30 05:23:58 +00:00
parent e272b5a029
commit 0a5a9edc6e
+1 -1
View File
@@ -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; }