Refactor specials[] to have strings instead of enum references.

Clean up arbitrary_messages[] accordingly.
This commit is contained in:
Jason S. Ninneman 2017-07-01 11:53:54 -07:00
parent e57d9d514c
commit e05f959974
3 changed files with 169 additions and 149 deletions

2
main.c
View file

@ -1137,7 +1137,7 @@ Lookup:
command.verb = kmod;
break;
case 3:
rspeak(specials[kmod].message);
speak(specials[kmod].message);
goto L2012;
default:
BUG(VOCABULARY_TYPE_N_OVER_1000_NOT_BETWEEN_0_AND_3); // LCOV_EXCL_LINE