From: Bart House Date: Sat, 13 Jul 2019 17:53:53 +0000 (-0700) Subject: Removing assertion that does not hold under all scenarios. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a9deeb69c9f5eabbd72b8e8f238bb7134467e699;p=nethack Removing assertion that does not hold under all scenarios. When we save gamestate as part of making an insurance snapshot, we will save message history which will clear toplines but leaving window state in tack including the need for more. --- diff --git a/win/tty/topl.c b/win/tty/topl.c index d3ad9f6ed..1802d6944 100644 --- a/win/tty/topl.c +++ b/win/tty/topl.c @@ -259,7 +259,6 @@ register const char *bp; && cw->cury == 0 && n0 + (int) strlen(g.toplines) + 3 < CO - 8 /* room for --More-- */ && (notdied = strncmp(bp, "You die", 7)) != 0) { - nhassert(strlen(g.toplines) == cw->curx); Strcat(g.toplines, " "); Strcat(g.toplines, bp); cw->curx += 2;