Skip to content

Commit

Permalink
Fix: Missing comma in junk shopkeeper names.
Browse files Browse the repository at this point in the history
  • Loading branch information
elunna committed Oct 13, 2023
1 parent 970ec9c commit 604c877
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/shknam.c
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ static const char *const shkmasks[] = {

static const char *const shkjunk[] = {
/* Silly names, clown names */
"=Spiffy", "=Bonko", "=Binky", "=Tubby", "=Zippy", "=Jumbo"
"=Spiffy", "=Bonko", "=Binky", "=Tubby", "=Zippy", "=Jumbo",
"=Mittens", "=Chuckles", "=Bam Bam", "=Larry", "=Curly",
"=Moe", "=Zaff", "=Punky", "=Zonko", 0
};
Expand Down Expand Up @@ -1412,7 +1412,9 @@ struct obj *obj;
{
int i, shp_indx = ESHK(shkp)->shoptype - SHOPBASE;
const struct shclass *shp = &shtypes[shp_indx];


if (obj->oprops & ITEM_STENCH)
return FALSE;
if (shp->symb == RANDOM_CLASS)
return TRUE;
for (i = 0; i < SIZE(shtypes[0].iprobs) && shp->iprobs[i].iprob; i++) {
Expand Down

0 comments on commit 604c877

Please sign in to comment.