The "following" flag could get set in several places where it was not
obvious that the customer name would be remembered. Since the shopkeeper
should always get angry at the current player, set the name at the same
place that the flag is set.
via eating, nor does it cure an existing case)
character inflicted with lycanthropy is vulnerable to Werebane when in
human/elf/&c form as well as when in beast form
+shopkeeper could get angry without remembering the customer name
Platform- and/or Interface-Specific Fixes
if(!shkp->isshk) return;
rile_shk(shkp);
+ (void) strncpy(ESHK(shkp)->customer, plname, PL_NSIZ);
ESHK(shkp)->following = 1;
}
if(!silent) {
if(cansee(shkp->mx, shkp->my)) {
- if(ESHK(shkp)->customer[0] == 0)
- (void) strncpy(ESHK(shkp)->customer,plname,PL_NSIZ);
Norep("%s booms: \"%s, you are a thief!\"",
Monnam(shkp), plname);
} else Norep("You hear a scream, \"Thief!\"");