fix #H7079 - melting ice destroys lowered dbridge
melt_ice() attempted to handle this but checked for raised drawbridge instead of lowered one.
This commit is contained in:
@@ -541,6 +541,7 @@ at the prompt for entering a level annotation, responding with <return>
|
|||||||
erroneously removed old annotation; use <space><return> to do that
|
erroneously removed old annotation; use <space><return> to do that
|
||||||
reorder the #droptype menu and add some separator lines
|
reorder the #droptype menu and add some separator lines
|
||||||
moving from a pit to an adjacent pit with uncleared debris shouldn't be a fall
|
moving from a pit to an adjacent pit with uncleared debris shouldn't be a fall
|
||||||
|
open drawbridge spanning ice would vanish if the ice melted
|
||||||
|
|
||||||
|
|
||||||
Fixes to Post-3.6.0 Problems that Were Exposed Via git Repository
|
Fixes to Post-3.6.0 Problems that Were Exposed Via git Repository
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* NetHack 3.6 zap.c $NHDT-Date: 1520705645 2018/03/10 18:14:05 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.271 $ */
|
/* NetHack 3.6 zap.c $NHDT-Date: 1524469189 2018/04/23 07:39:49 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.274 $ */
|
||||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||||
/* NetHack may be freely redistributed. See license for details. */
|
/* NetHack may be freely redistributed. See license for details. */
|
||||||
|
|
||||||
@@ -4180,7 +4180,7 @@ const char *msg;
|
|||||||
|
|
||||||
if (!msg)
|
if (!msg)
|
||||||
msg = "The ice crackles and melts.";
|
msg = "The ice crackles and melts.";
|
||||||
if (lev->typ == DRAWBRIDGE_UP) {
|
if (lev->typ == DRAWBRIDGE_DOWN) {
|
||||||
lev->drawbridgemask &= ~DB_ICE; /* revert to DB_MOAT */
|
lev->drawbridgemask &= ~DB_ICE; /* revert to DB_MOAT */
|
||||||
} else { /* lev->typ == ICE */
|
} else { /* lev->typ == ICE */
|
||||||
#ifdef STUPID
|
#ifdef STUPID
|
||||||
|
|||||||
Reference in New Issue
Block a user