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.
This commit is contained in:
PatR
2022-08-24 14:53:36 -07:00
parent b566574d45
commit 249f6395c5

View File

@@ -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');