You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 27, 2021. It is now read-only.
An off-by-one error when accessing the trapexplain array at line 347 of libnitrohack/src/pray.c causes far-look to report e.g. "a dwarf trapped in a statue trap" when it's trapped in a web.
This line:
sprintf(eos(buf), ", trapped in %s", an(trapexplain[tt]));
... should look like this, like all other uses of trapexplain in the code:
sprintf(eos(buf), ", trapped in %s", an(trapexplain[tt-1]));
See this with context in this commit on my experimental branch.