summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stash.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/stash.cc')
-rw-r--r--crawl-ref/source/stash.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/stash.cc b/crawl-ref/source/stash.cc
index 17104cdddb..1c9dcf83f3 100644
--- a/crawl-ref/source/stash.cc
+++ b/crawl-ref/source/stash.cc
@@ -271,7 +271,7 @@ void Stash::update()
feat = DNGN_FLOOR;
if (grid_is_trap(feat))
- trap = trap_type_at_xy(p);
+ trap = get_trap_type(p);
int objl = igrd[x][y];
// If this is your position, you know what's on this square