Moved decl.c globals into instance globals.

This commit is contained in:
Bart House
2018-12-22 18:44:22 -08:00
parent 6c0df43a17
commit 74edf42f1c
83 changed files with 818 additions and 824 deletions

View File

@@ -1135,7 +1135,7 @@ do_mname()
mtmp = u.usteed;
} else {
pline("This %s creature is called %s and cannot be renamed.",
beautiful(), plname);
beautiful(), g.plname);
return;
}
} else
@@ -1572,7 +1572,7 @@ static const char *const ghostnames[] = {
const char *
rndghostname()
{
return rn2(7) ? ghostnames[rn2(SIZE(ghostnames))] : (const char *) plname;
return rn2(7) ? ghostnames[rn2(SIZE(ghostnames))] : (const char *) g.plname;
}
/*