| 720 | |
| 721 | |
| 722 | int LuaObstacle::GetFaceLinkName(lua_State* L) { |
| 723 | const MeshFace* face = ParseMeshFace(L, 1); |
| 724 | if (face == NULL) { |
| 725 | return luaL_pushnil(L); |
| 726 | } |
| 727 | if (!face->isLinkFace()) { |
| 728 | return luaL_pushnil(L); |
| 729 | } |
| 730 | lua_pushstdstring(L, face->getLinkName()); |
| 731 | return 1; |
| 732 | } |
| 733 | |
| 734 | |
| 735 | int LuaObstacle::GetFaceLinkSrcID(lua_State* L) { |
nothing calls this directly
no test coverage detected