Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix a typo that breaks savegames and TODO about another bug

  • Loading branch information...
commit b28dc42f3d71e2b9e2d1b4390e0d6b6ed7c3c5e2 1 parent de7f68b
@Mikolaj Mikolaj authored
Showing with 2 additions and 1 deletion.
  1. +1 −0  src/Actions.hs
  2. +1 −1  src/Monster.hs
View
1  src/Actions.hs
@@ -257,6 +257,7 @@ lvlchange vdir =
-- we are at the "end" of the dungeon
fleeDungeon
Just (nln, nloc) ->
+ -- TODO: in loook mode, check if the target stairs are known and if not, land in the same location as in the current level so as not to reveal stairs location
lvlswitch (nln, nloc)
_ -> -- no stairs
if isNothing (slook state)
View
2  src/Monster.hs
@@ -109,7 +109,7 @@ instance Binary Target where
1 -> liftM TLoc get
2 -> return TClosest
3 -> return TShare
- 3 -> return TNone
+ 4 -> return TNone
_ -> fail "no parse (Target)"
-- | Monster frequencies (TODO: should of course vary much more
Please sign in to comment.
Something went wrong with that request. Please try again.