about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/Xanthous/Game/Draw.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Xanthous/Game/Draw.hs b/src/Xanthous/Game/Draw.hs
index 8a86101d99..a9b55945ff 100644
--- a/src/Xanthous/Game/Draw.hs
+++ b/src/Xanthous/Game/Draw.hs
@@ -95,9 +95,9 @@ drawMap game
   = viewport Resource.MapViewport Both
   . cursorPosition game
   $ drawEntities
+    (`member` characterVisiblePositions game)
     (\pos -> (game ^. debugState . allRevealed)
             || (pos `member` (game ^. revealedPositions)))
-    (`member` characterVisiblePositions game)
     -- FIXME: this will break down as soon as creatures can walk around on their
     -- own, since we don't want to render things walking around when the
     -- character can't see them