summaryrefslogtreecommitdiff
path: root/src/defines.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/defines.h')
-rw-r--r--src/defines.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/defines.h b/src/defines.h
index b17403ef..19f2f8c3 100644
--- a/src/defines.h
+++ b/src/defines.h
@@ -2463,7 +2463,7 @@
*/
#define level_or_feat(DTYPE, DLEVEL) \
((DTYPE) == DUNGEON_WILDERNESS ? \
- wild_map[p_ptr->wilderness_y][p_ptr->wilderness_x].feat : \
+ (*wilderness_ptr)(p_ptr->wilderness_x, p_ptr->wilderness_y).feat : \
(DLEVEL) )