enc_stat[], hu_stat[]
The definition of enc_stat[] got changed by a pull request nearly a
year ago ('const char *enc_stat[]' -> 'const char *const enc_stat[]')
but the separate declarations for it weren't changed to match.
Make the same change for hu_stat[]. Not sure why the pull request
didn't include it since the old declaration and the usage are same.
The curses one is in code that isn't used.
This commit is contained in:
@@ -66,8 +66,10 @@ static int tin_ok(struct obj *);
|
||||
((otyp) == LEMBAS_WAFER || (otyp) == CRAM_RATION)
|
||||
|
||||
/* see hunger states in hack.h - texts used on bottom line */
|
||||
const char *hu_stat[] = { "Satiated", " ", "Hungry ", "Weak ",
|
||||
"Fainting", "Fainted ", "Starved " };
|
||||
const char *const hu_stat[] = {
|
||||
"Satiated", " ", "Hungry ", "Weak ",
|
||||
"Fainting", "Fainted ", "Starved "
|
||||
};
|
||||
|
||||
/* used by getobj() callback routines eat_ok()/offer_ok()/tin_ok() to
|
||||
indicate whether player was given an opportunity to eat or offer or
|
||||
|
||||
Reference in New Issue
Block a user