Merge branch 'NetHack-3.6.2'

This commit is contained in:
nhmall
2019-02-08 19:03:39 -05:00
2 changed files with 24 additions and 20 deletions
+1 -1
View File
@@ -617,11 +617,11 @@ mesg_add_line(char *mline)
current_mesg->prev_mesg = last_mesg;
last_mesg = current_mesg;
if (num_messages < max_messages) {
num_messages++;
} else {
tmp_mesg = first_mesg->next_mesg;
free(first_mesg->str);
free(first_mesg);
first_mesg = tmp_mesg;
}