From b5e9ab44fd03d488791592f447c3b787b49b2d37 Mon Sep 17 00:00:00 2001 From: haranp Date: Mon, 9 Feb 2009 12:44:48 +0000 Subject: Fix level map, and travel, knowing too much about the level. Hopefully this didn't break anything which travel depends on. Fixes [2051248]. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9012 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/terrain.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/terrain.cc') 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); -- cgit v1.2.3-54-g00ecf