# HG changeset patch # User nemo # Date 1301435824 14400 # Node ID 96d849db41f8bb645f9d36626a5b1ee0a4147860 # Parent 863b9fe83c2f784125670b83949a789a4f0572fd oops. vg dX/dY - just for consistency diff -r 863b9fe83c2f -r 96d849db41f8 hedgewars/uScript.pas --- a/hedgewars/uScript.pas Tue Mar 29 17:52:04 2011 -0400 +++ b/hedgewars/uScript.pas Tue Mar 29 17:57:04 2011 -0400 @@ -359,8 +359,8 @@ begin lua_pushinteger(L, round(vg^.X)); lua_pushinteger(L, round(vg^.Y)); - lua_pushnumber(L, vg^.dX); - lua_pushnumber(L, vg^.dY); + lua_pushnumber(L, vg^.dX * 100000); + lua_pushnumber(L, vg^.dY * 100000); lua_pushnumber(L, vg^.Angle); lua_pushinteger(L, vg^.Frame); lua_pushinteger(L, vg^.FrameTicks);