| 1145 | } |
| 1146 | |
| 1147 | bool MapExtras::Block::GetLocalFeature(t_feature *out) |
| 1148 | { |
| 1149 | out->type = (df::feature_type)-1; |
| 1150 | if (!valid || block->local_feature < 0) |
| 1151 | return false; |
| 1152 | return ::GetLocalFeature(*out, block->region_pos, block->local_feature); |
| 1153 | } |
| 1154 | |
| 1155 | void MapExtras::Block::init_item_counts() |
| 1156 | { |