]> granicus.if.org Git - nethack/commit
Consistently use rn2 in trap detection
authorAlex Smith <ais523@nethack4.org>
Tue, 29 Jan 2019 03:37:08 +0000 (03:37 +0000)
committerAlex Smith <ais523@nethack4.org>
Tue, 29 Jan 2019 03:37:08 +0000 (03:37 +0000)
commit0c96dd6a2280219105e4b77e6f6414afb7756af9
tree1f7898eda593fda0c682cbab7c95531cae19d0a0
parent54062e0ad62457e8bec161a6192d4d6894c521f1
Consistently use rn2 in trap detection

It's a gameplay-affecting action (it updates the character's
memory of the map), and there's no way to spam it without using
resources, so rn2 is safe.
src/detect.c