Fix fuzzer teleporting out of Fort Ludios

This commit is contained in:
Pasi Kallinen
2023-03-18 08:51:33 +02:00
parent f360dee4dd
commit e37428d5cd
4 changed files with 11 additions and 2 deletions

View File

@@ -1635,7 +1635,9 @@ goto_level(
/* returning from tutorial via portal */
u_on_newpos(stway->sx, stway->sy);
} else {
panic("goto_level: no corresponding portal!");
if (!iflags.debug_fuzzer)
impossible("goto_level: no corresponding portal!");
u_on_rndspot(0);
}
} else {
seetrap(ttrap);