summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/terrain.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/terrain.cc')
-rw-r--r--crawl-ref/source/terrain.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/terrain.cc b/crawl-ref/source/terrain.cc
index 7ffb7cdafe..aa3df3d151 100644
--- a/crawl-ref/source/terrain.cc
+++ b/crawl-ref/source/terrain.cc
@@ -837,8 +837,8 @@ bool swap_features(const coord_def &pos1, const coord_def &pos2,
viewwindow(true, false);
}
- set_terrain_changed(pos1.x, pos1.y);
- set_terrain_changed(pos2.x, pos2.y);
+ set_terrain_changed(pos1);
+ set_terrain_changed(pos2);
if (announce)
_announce_swap(pos1, pos2);