Revert "allow readobjnam arg to be nonnull"
This reverts commit 10f29a9760.
This commit is contained in:
@@ -6024,7 +6024,7 @@ makewish(void)
|
||||
if (++tries < MAXWISHTRY)
|
||||
goto retry;
|
||||
pline1(thats_enough_tries);
|
||||
otmp = readobjnam(&do_random_str, (struct obj *) 0);
|
||||
otmp = readobjnam((char *) 0, (struct obj *) 0);
|
||||
if (!otmp)
|
||||
return; /* for safety; should never happen */
|
||||
} else if (otmp == ¬hing) {
|
||||
|
||||
Reference in New Issue
Block a user