| 363 | } |
| 364 | |
| 365 | df::map_block *Maps::getTileBlock (int32_t x, int32_t y, int32_t z) |
| 366 | { |
| 367 | if (!isValidTilePos(x,y,z)) |
| 368 | return NULL; |
| 369 | return world->map.block_index[x >> 4][y >> 4][z]; |
| 370 | } |
| 371 | |
| 372 | df::map_block *Maps::ensureTileBlock (int32_t x, int32_t y, int32_t z) |
| 373 | { |
nothing calls this directly
no test coverage detected