move struct propname to a header file

In doing so, avoid repeated layout declaration in cmd.c
This commit is contained in:
nhmall
2022-09-06 07:22:55 -04:00
parent 1459f44f4e
commit 402b2bf5c8
3 changed files with 7 additions and 8 deletions

View File

@@ -21,10 +21,7 @@ static void cleanup_burn(ANY_P *, long);
/* used by wizard mode #timeout and #wizintrinsic; order by 'interest'
for timeout countdown, where most won't occur in normal play */
const struct propname {
int prop_num;
const char *prop_name;
} propertynames[] = {
const struct propname propertynames[] = {
{ INVULNERABLE, "invulnerable" },
{ STONED, "petrifying" },
{ SLIMED, "becoming slime" },