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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user