What should be showed for this feat on magic mapping? * * @param feat The feat to be hidden by magic mapping. * @returns the converted type. */
| 235 | * @returns the converted type. |
| 236 | */ |
| 237 | dungeon_feature_type magic_map_base_feat(dungeon_feature_type feat) |
| 238 | { |
| 239 | const feature_def& fdef = get_feature_def(feat); |
| 240 | switch (fdef.dchar) |
| 241 | { |
| 242 | case DCHAR_ARCH: |
| 243 | return DNGN_UNKNOWN_PORTAL; |
| 244 | case DCHAR_ALTAR: |
| 245 | return DNGN_UNKNOWN_ALTAR; |
| 246 | default: |
| 247 | return feat; |
| 248 | } |
| 249 | } |