From 249f6395c52443f615510f7ab54dcf2889234057 Mon Sep 17 00:00:00 2001 From: PatR Date: Wed, 24 Aug 2022 14:53:36 -0700 Subject: [PATCH] bug fix for listing migrating monsters A typo in the code added to #migratemons resulted in bad output when listing a subset of migrating monsters if there were any aimed at the next level. Didn't affect listing 'a'll because the incorrect code wasn't reached in that situation. --- src/cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd.c b/src/cmd.c index aa6ad9d9e..7373590ee 100644 --- a/src/cmd.c +++ b/src/cmd.c @@ -4087,7 +4087,7 @@ list_migrating_mons( showit = (c == 'c'); else if (mtmp->mux == nextlevl->dnum && mtmp->muy == nextlevl->dlevel) - showit = (c = 'n'); + showit = (c == 'n'); else showit = (c == 'o');