MAPLIN is no longer called during setup phase.
[open-adventure.git] / misc.c
diff --git a/misc.c b/misc.c
index b7b132b9c3d9370bbf508ab086e90e6246fc24b5..2c8855fcbfd3f6968c8f564b0ab80e1310c79bef 100644 (file)
--- 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));