summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/test
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-07-29 19:30:32 +0200
committerAdam Borowski <kilobyte@angband.pl>2013-07-31 04:01:02 +0200
commit07a0b80f945cf9971cf29834f28f279ccdfbefdb (patch)
tree10840cb85051bed9b78d1e8a4902357d52f05d0e /crawl-ref/source/test
parent6d5fa6932aadca17e146582085c533f2cb4f77e0 (diff)
downloadcrawl-ref-07a0b80f945cf9971cf29834f28f279ccdfbefdb.tar.gz
crawl-ref-07a0b80f945cf9971cf29834f28f279ccdfbefdb.zip
Fix reversed logic in a test.
Diffstat (limited to 'crawl-ref/source/test')
-rw-r--r--crawl-ref/source/test/los_csc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/test/los_csc.lua b/crawl-ref/source/test/los_csc.lua
index ea8d5e5fa0..02a8c2a108 100644
--- a/crawl-ref/source/test/los_csc.lua
+++ b/crawl-ref/source/test/los_csc.lua
@@ -25,7 +25,7 @@ local function test_cellseecell_symmetry()
this_p = other_p
other_p = temp
end
- if (forward and backward) or (not forward and not backward) then
+ if (forward and not backward) or (not forward and backward) then
dgn.fprop_changed(other_p.x, other_p.y, "highlight")
debug.dump_map(FAILMAP)
assert(false,