adjust vortex database entry to be consistent with fire and energy vortices
when co-located with a boulder you could sometimes swap places with pets of
any size
+on rare occasions, multiple mines-end luckstones were being marked as the
+ prize and triggering an impossible() on a public server
Fixes to Post-3.6.2 Problems that Were Exposed Via git Repository
might be short-circuited if a monster brings object to hero) */
if (Is_mineend_level(&u.uz)) {
if (otmp->otyp == iflags.mines_prize_type) {
- otmp->record_achieve_special = MINES_PRIZE;
- /* prevent stacking; cleared when achievement is recorded */
- otmp->nomerge = 1;
- if (++mines_prize_count > 1)
- impossible(prize_warning, "mines end");
+ if (!mines_prize_count++) {
+ /* Note: the first luckstone on lev will become the prize
+ even if its not the explicit one, but random */
+ otmp->record_achieve_special = MINES_PRIZE;
+ /* prevent stacking; cleared when achievement is recorded */
+ otmp->nomerge = 1;
+ }
}
} else if (Is_sokoend_level(&u.uz)) {
if (otmp->otyp == iflags.soko_prize_type1) {