From c44ad5645d90267e7ed1d1a6c57acc1437dca10e Mon Sep 17 00:00:00 2001 From: Bart House Date: Sat, 13 Jul 2019 10:53:53 -0700 Subject: [PATCH] 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. --- win/tty/topl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win/tty/topl.c b/win/tty/topl.c index cfd17838d..74331dece 100644 --- a/win/tty/topl.c +++ b/win/tty/topl.c @@ -259,7 +259,7 @@ register const char *bp; && cw->cury == 0 && n0 + (int) strlen(toplines) + 3 < CO - 8 /* room for --More-- */ && (notdied = strncmp(bp, "You die", 7)) != 0) { - nhassert((long) strlen(toplines) == cw->curx); + /* nhassert((long) strlen(toplines) == cw->curx); */ Strcat(toplines, " "); Strcat(toplines, bp); cw->curx += 2;