| 2689 | } |
| 2690 | |
| 2691 | static int maps_getTileType(lua_State *L) |
| 2692 | { |
| 2693 | auto pos = CheckCoordXYZ(L, 1, true); |
| 2694 | auto ptype = Maps::getTileType(pos); |
| 2695 | if (ptype) |
| 2696 | lua_pushinteger(L, *ptype); |
| 2697 | else |
| 2698 | lua_pushnil(L); |
| 2699 | return 1; |
| 2700 | } |
| 2701 | |
| 2702 | static int maps_getTileFlags(lua_State *L) |
| 2703 | { |
nothing calls this directly
no test coverage detected