summaryrefslogtreecommitdiff
path: root/src/defines.h
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-09-17 09:58:15 +0200
committerBardur Arantsson <bardur@scientician.net>2016-09-17 09:58:15 +0200
commitdc261d2c9732554d9f510e11711ac84d028e5ac1 (patch)
tree2eeb12d57fa130309f26160277fb2677bf928c37 /src/defines.h
parenteea082ffd1a3ecf73b7c464cc28da5ef74d3a30f (diff)
Use grid<> for wilderness grid
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) )