oops. vg dX/dY - just for consistency
authornemo
Tue, 29 Mar 2011 17:57:04 -0400
changeset 5073 96d849db41f8
parent 5072 863b9fe83c2f
child 5074 16f9e2d1f3b2
oops. vg dX/dY - just for consistency
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);