Fix #H5056/bz1086: Bug in Achievement Recording

Bug report was:

> "Completed sokoban" achievement was logged when picking up
> a randomly generated bag of holding in the gnomish mines.

The picking-up code was missing checks for the branches, so
you could get the achievements outside the correct branches.
This commit is contained in:
Pasi Kallinen
2017-02-06 16:42:33 +02:00
parent 0714e38d28
commit 76d7044872
4 changed files with 12 additions and 9 deletions

View File

@@ -366,6 +366,7 @@ when sitting at a trap spot: You sit down. You step on a level teleporter.
(likewise for polymorph trap, and similar issue for web)
show all statusline information in #attributes
add option status_updates to prevent bottom of screen status line updates
fix achievement recording bug with mines and sokoban prizes
Fixes to Post-3.6.0 Problems that Were Exposed Via git Repository