X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=misc.c;h=2c8855fcbfd3f6968c8f564b0ab80e1310c79bef;hb=1445c7ebccf77d60b3a9dca6549731427eb4ba81;hp=b7b132b9c3d9370bbf508ab086e90e6246fc24b5;hpb=83048ee832577455d26db2f6c6f2c130b454094f;p=open-adventure.git diff --git a/misc.c b/misc.c index b7b132b..2c8855f 100644 --- a/misc.c +++ b/misc.c @@ -608,7 +608,7 @@ L2: AT=I; long SETBIT(long bit) { /* Returns 2**bit for use in constructing bit-masks. */ - 2 << bit; + return(2 << bit); } bool TSTBIT(long mask, int bit) { @@ -735,7 +735,7 @@ long I, VAL; if(MAP2[1] == 0)MPINIT(); - if (!oldstyle && SETUP && OPENED == stdin) + if (!oldstyle && OPENED == stdin) fputs("> ", stdout); do { IGNORE(fgets(rawbuf,sizeof(rawbuf)-1,OPENED));