improperly terminated quest message

Add a missing check to makedefs so it prints a warning about misplaced %Es.
Fix a couple places in quest.txt pointed out by the new warning.
There's no visible effect on play, since the code that actually reads the
message keeps reading until the next %C.
This commit is contained in:
cohrs
2002-08-27 03:56:28 +00:00
parent 4aa5bceb1f
commit 081edea253
3 changed files with 6 additions and 2 deletions

View File

@@ -1511,6 +1511,9 @@ static void
do_qt_text(s)
char *s;
{
if (!in_msg) {
Fprintf(stderr, TEXT_NOT_IN_MSG, qt_line);
}
curr_msg->size += strlen(s);
return;
}