From 3de30c168988a6ed1270385b095fb3fea992c12e Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Thu, 5 Nov 2009 12:22:36 -0600 Subject: Fix apparent typo in swap_features(). --- crawl-ref/source/terrain.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/terrain.cc') diff --git a/crawl-ref/source/terrain.cc b/crawl-ref/source/terrain.cc index 92d4c750f7..8a834dac7b 100644 --- a/crawl-ref/source/terrain.cc +++ b/crawl-ref/source/terrain.cc @@ -953,7 +953,7 @@ bool swap_features(const coord_def &pos1, const coord_def &pos2, // Note that trapping nets, etc., move together // with the monster/player, so don't clear them. const int m1 = mgrd(pos1); - const int m2 = mgrd(pos1); + const int m2 = mgrd(pos2); mgrd(pos1) = m2; mgrd(pos2) = m1; -- cgit v1.2.3-54-g00ecf