Improved behavior when magic words are said before they're seen.

Note: there is a tiny risk that this could break savefile
compatibility, as I swiped an unused int member in the game structure
and turned it into a bool. int and bool *should* be the same sixe...
This commit is contained in:
Eric S. Raymond 2023-04-05 19:49:38 -04:00
parent 4ce4de190e
commit fe378b9e13
7 changed files with 15 additions and 3 deletions

View file

@ -67,7 +67,7 @@ OK
> say fum
What's the matter, can't you read? Now you'd best start over.
Well, that was remarkably pointless!
> z

View file

@ -6,5 +6,6 @@ sed \
-e '/bridge now spans the fissure/s//bridge spans the fissure/' \
-e '/ground/s//surface/' \
-e '/floor/s//surface/' \
-e "/Well, that was remarkably pointless!/s//What's the matter, can't you read? Now you'd best start over./" \
# end