Merge branch 'master' into win32-x64-working
Conflicts: src/mon.c src/options.c src/pickup.c src/zap.c Changes to be committed: modified: doc/Guidebook.mn modified: doc/Guidebook.tex modified: doc/fixes35.0 modified: include/color.h modified: include/extern.h modified: include/mondata.h modified: src/ball.c modified: src/dbridge.c modified: src/dig.c modified: src/display.c modified: src/dokick.c modified: src/dungeon.c modified: src/fountain.c modified: src/invent.c modified: src/mkmaze.c modified: src/mkobj.c modified: src/mon.c modified: src/monmove.c modified: src/mthrowu.c modified: src/options.c modified: src/pickup.c modified: src/sit.c
This commit is contained in:
+5
-9
@@ -1867,9 +1867,10 @@ donamelevel()
|
||||
if (!(mptr = find_mapseen(&u.uz))) return 0;
|
||||
|
||||
if (mptr->custom) {
|
||||
char qbuf[BUFSZ];
|
||||
Sprintf(qbuf, "Replace annotation \"%s\" with?", mptr->custom);
|
||||
getlin(qbuf, nbuf);
|
||||
char tmpbuf[BUFSZ];
|
||||
Sprintf(tmpbuf, "Replace annotation \"%.30s%s\" with?",
|
||||
mptr->custom, strlen(mptr->custom) > 30 ? "..." : "");
|
||||
getlin(tmpbuf, nbuf);
|
||||
} else
|
||||
getlin("What do you want to call this dungeon level?", nbuf);
|
||||
if (index(nbuf, '\033')) return 0;
|
||||
@@ -2205,12 +2206,7 @@ recalc_mapseen()
|
||||
if (cansee(x, y) || (x == u.ux && y == u.uy && !Levitation)) {
|
||||
ltyp = levl[x][y].typ;
|
||||
if (ltyp == DRAWBRIDGE_UP)
|
||||
switch (levl[x][y].drawbridgemask & DB_UNDER) {
|
||||
case DB_ICE: ltyp = ICE; break;
|
||||
case DB_LAVA: ltyp = LAVAPOOL; break;
|
||||
case DB_MOAT: ltyp = MOAT; break;
|
||||
default: ltyp = STONE; break;
|
||||
}
|
||||
ltyp = db_under_typ(levl[x][y].drawbridgemask);
|
||||
if ((mtmp = m_at(x, y)) != 0 &&
|
||||
mtmp->m_ap_type == M_AP_FURNITURE && canseemon(mtmp))
|
||||
ltyp = cmap_to_type(mtmp->mappearance);
|
||||
|
||||
Reference in New Issue
Block a user