diff --git a/include/decl.h b/include/decl.h index 70e454f95..86ec5b977 100644 --- a/include/decl.h +++ b/include/decl.h @@ -803,7 +803,7 @@ struct instance_globals_p { int poly_zapped; /* new stuff */ - int puzzling_critera; + int puzzling_criteria; char puzzling_ilets[invlet_basic + 1]; boolean havestate; diff --git a/src/invent.c b/src/invent.c index e885b7ae0..725b78a62 100644 --- a/src/invent.c +++ b/src/invent.c @@ -2742,7 +2742,7 @@ check_for_puzzling_nonmerge(struct obj *objchn) } } if (puzzling_cnt) - gp.puzzling_critera = 411; + gp.puzzling_criteria = 411; } return puzzling_cnt; } diff --git a/src/objnam.c b/src/objnam.c index 233a84b31..160f35091 100644 --- a/src/objnam.c +++ b/src/objnam.c @@ -1520,7 +1520,7 @@ doname_base( : 53; /* valid index, but always holds zero */ if (with_corpse_genders && puzzidx < 53 - && gp.puzzling_critera == 411 && gp.puzzling_ilets[puzzidx]) + && gp.puzzling_criteria == 411 && gp.puzzling_ilets[puzzidx]) cxarg |= CXN_ADDGNDR; /* corpse_xname() sets xnamep; callers other than doname_base() itself shouldn't care about xnamep (pointer to start of