Attempting fix for issue #50: carried clam can be opened (with trident)

This commit is contained in:
Eric S. Raymond 2021-01-10 22:14:11 -05:00
parent fe1b02f4c0
commit 8984e48e78
3 changed files with 4 additions and 2 deletions

View file

@ -998,6 +998,8 @@ static phase_codes_t lock(verb_t verb, obj_t obj)
case CLAM:
if (verb == LOCK)
rspeak(HUH_MAN);
else if (TOTING(CLAM))
rspeak(DROP_CLAM);
else if (!TOTING(TRIDENT))
rspeak(CLAM_OPENER);
else {