Added some guards against setting an invalid NKI. It just happened!
authorDavid Griffith <dave@661.org>
Wed, 19 Jan 2022 07:48:32 +0000 (23:48 -0800)
committerDavid Griffith <dave@661.org>
Thu, 20 Jan 2022 08:04:05 +0000 (00:04 -0800)
commitbc7eeadf9bf1b1e6e6652d264aff75ab0ddff0b9
treef24a9669f1076373fca83bc1e7391d07a69f39f7
parentd4292c6e27aaa6b0a80621e845b44449522a8695
Added some guards against setting an invalid NKI.  It just happened!

The default reply from lookup_msg() is "Unknown NKI (this should not happen)"

If that does happen, it means that a number less than 1 or greater than
MESSAGE_NUM was given.  There may be something wacky going on with
Inform's random() function.
kitten.inf