From d5cd0c7b4425e25b11a1ceec154a5c752d508a42 Mon Sep 17 00:00:00 2001 From: Alexander Date: Wed, 26 Jun 2019 16:14:00 -0400 Subject: Major refactor of physics code Move all the physics code into the shared directory, and fix the ghost objects (aabb only) --- src/client/lua_api/load_video.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/lua_api/load_video.cpp') diff --git a/src/client/lua_api/load_video.cpp b/src/client/lua_api/load_video.cpp index e0c7557..f309180 100644 --- a/src/client/lua_api/load_video.cpp +++ b/src/client/lua_api/load_video.cpp @@ -74,7 +74,7 @@ int draw2dline(lua_State* L){ popvector2i(L,&ex,&ey); popvector2i(L,&sx,&sy); - driver->draw2DLine(position2d(sx,sy),position2d(ex,ey),SColor(r,g,b,a)); + driver->draw2DLine(position2d(sx,sy),position2d(ex,ey),SColor(a,r,g,b)); return 0; } -- cgit v1.2.3-70-g09d2