فهرست منبع

Fixed Shape:testSegment.

rude 16 سال پیش
والد
کامیت
b3bd3427a5
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      src/modules/physics/box2d/wrap_Shape.cpp

+ 1 - 0
src/modules/physics/box2d/wrap_Shape.cpp

@@ -123,6 +123,7 @@ namespace box2d
 	int w_Shape_testSegment(lua_State * L)
 	int w_Shape_testSegment(lua_State * L)
 	{
 	{
 		Shape * t = luax_checkshape(L, 1);
 		Shape * t = luax_checkshape(L, 1);
+		lua_remove(L, 1);
 		return t->testSegment(L);
 		return t->testSegment(L);
 	}
 	}