missing altar drop messages

Most callers of dropx did not check for altars, but should have.  Rather
than add such checks, I moved the check from drop to dropx.  I also found
several callers of dropx that could generate out-of-order messages for some
cases (not new) and fixed them. FYI - callers of dropy don't seem to want
altar checks or already do them.
This commit is contained in:
cohrs
2002-12-17 03:36:42 +00:00
parent 137bd330e4
commit bcf47b7663
4 changed files with 11 additions and 8 deletions

View File

@@ -84,9 +84,9 @@ register struct obj *pen;
You("need hands to be able to write!");
return 0;
} else if (Glib) {
dropx(pen);
pline("%s from your %s.",
Tobjnam(pen, "slip"), makeplural(body_part(FINGER)));
dropx(pen);
return 1;
}