floating down on a trap in which you're already trapped

this would re-trap you, extending your trap time
This commit is contained in:
cohrs
2002-02-13 04:30:28 +00:00
parent 5b242aafce
commit aa989f2452
2 changed files with 3 additions and 1 deletions

View File

@@ -429,6 +429,7 @@ gold detection "materially poor" message inappropriate if you have hidden_gold()
cannot reflect back an invisible umber hulk or medusa's attack
monsters with M3_WANTSBOOK often couldn't move in the Wizard-level
Vlad should want the Candelabrum
if you float_down on a trap in which you're already trapped, don't retrap
Platform- and/or Interface-Specific Fixes

View File

@@ -2133,7 +2133,8 @@ long hmask, emask; /* might cancel timeout */
break;
/* fall into next case */
default:
dotrap(trap, 0);
if (!u.utrap) /* not already in the trap */
dotrap(trap, 0);
}
if (!Is_airlevel(&u.uz) && !Is_waterlevel(&u.uz) && !u.uswallow &&