diff --git a/doc/fixes34.1 b/doc/fixes34.1 index c91de5547..8be5c27bd 100644 --- a/doc/fixes34.1 +++ b/doc/fixes34.1 @@ -11,6 +11,7 @@ add wishing for "nothing" and genociding "none" to the conduct section allow both wishing and genocide to accept either "none" or "nothing" when the player wants to decline left word in format string in get_wet() causing "The spellbook fadefades" +two bad wizkit items in a row shouldn't make the user hit space many times Platform- and/or Interface-Specific Fixes diff --git a/src/files.c b/src/files.c index 79e3a3907..00d539b3f 100644 --- a/src/files.c +++ b/src/files.c @@ -1671,6 +1671,8 @@ read_wizkit() FILE *fp; char *ep, buf[BUFSZ]; struct obj *otmp; + boolean bad_items = FALSE; + if (!wizard || !(fp = fopen_wizkit_file())) return; while (fgets(buf, 4*BUFSZ, fp)) { @@ -1682,10 +1684,12 @@ read_wizkit() otmp = addinv(otmp); } else { raw_printf("Bad wizkit item: \"%.50s\"", buf); - wait_synch(); + bad_items = TRUE; } } } + if (bad_items) + wait_synch(); (void) fclose(fp); return; }