diff options
author | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-11-05 12:22:36 -0600 |
---|---|---|
committer | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-11-05 12:22:36 -0600 |
commit | 3de30c168988a6ed1270385b095fb3fea992c12e (patch) | |
tree | 45d6f565676ed4aeeebc7f0c728c31f4e1170d9f /crawl-ref/source/terrain.cc | |
parent | 08a20c3dc9e4789ebf538ec09963a02a28ae2532 (diff) | |
download | crawl-ref-3de30c168988a6ed1270385b095fb3fea992c12e.tar.gz crawl-ref-3de30c168988a6ed1270385b095fb3fea992c12e.zip |
Fix apparent typo in swap_features().
Diffstat (limited to 'crawl-ref/source/terrain.cc')
-rw-r--r-- | crawl-ref/source/terrain.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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; |