Fix bug that led to comments bnot being ignored.
This commit is contained in:
parent
df23b58032
commit
d2643712dd
4 changed files with 2 additions and 14 deletions
4
misc.c
4
misc.c
|
@ -888,9 +888,9 @@ long I, VAL;
|
|||
if (!oldstyle && SETUP && OPENED == stdin)
|
||||
fputs("> ", stdout);
|
||||
do {
|
||||
IGNORE(fgets(rawbuf,sizeof(INLINE)-1,OPENED));
|
||||
IGNORE(fgets(rawbuf,sizeof(rawbuf)-1,OPENED));
|
||||
} while
|
||||
(!feof(OPENED) && INLINE[1] == '#');
|
||||
(!feof(OPENED) && rawbuf[0] == '#');
|
||||
if (feof(OPENED)) {
|
||||
if (logfp && OPENED == stdin)
|
||||
fclose(logfp);
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
|
||||
Welcome to Adventure!! Would you like instructions?
|
||||
|
||||
> ##First death by jump into fissure
|
||||
|
||||
Please stick to 1- and 2-word commands.
|
||||
|
||||
> n
|
||||
|
||||
You are standing at the end of a road before a small brick building.
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
|
||||
Welcome to Adventure!! Would you like instructions?
|
||||
|
||||
> ## Dwarf appears in soutth side chamber, where the coins are.
|
||||
|
||||
Please stick to 1- and 2-word commands.
|
||||
|
||||
> n
|
||||
|
||||
You are standing at the end of a road before a small brick building.
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
|
||||
Welcome to Adventure!! Would you like instructions?
|
||||
|
||||
> ##Just straight quit.
|
||||
|
||||
Please stick to 1- and 2-word commands.
|
||||
|
||||
> n
|
||||
|
||||
You are standing at the end of a road before a small brick building.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue