| 239 | |
| 240 | |
| 241 | static inline const MeshFace* ParseMeshFace(lua_State* L, int index) { |
| 242 | const Obstacle* face = ParseObstacle(L, index); |
| 243 | if (face == NULL) { |
| 244 | return NULL; |
| 245 | } |
| 246 | if (face->getTypeID() != faceType) { |
| 247 | return NULL; |
| 248 | } |
| 249 | return (const MeshFace*)face; |
| 250 | } |
| 251 | |
| 252 | |
| 253 | static inline WorldText* ParseWorldText(lua_State* L, int index) { |
no test coverage detected