Actually return a value from SETBIT().
[open-adventure.git] / misc.c
diff --git a/misc.c b/misc.c
index b7b132b9c3d9370bbf508ab086e90e6246fc24b5..cccf182b965d537aab3fd4109093cb982bfb1881 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) {