Handler for transitive extinguish.
[open-adventure.git] / misc.c
diff --git a/misc.c b/misc.c
index 1e2f600573f50f0c67476c48168298046b6b46fb..cfca544393d7c064baa504efae952c2e8c8d8928 100644 (file)
--- a/misc.c
+++ b/misc.c
@@ -3,8 +3,8 @@
 #include <stdio.h>
 #include <string.h>
 #include <sys/time.h>
+
 #include "advent.h"
-#include "funcs.h"
 #include "database.h"
 #include "linenoise/linenoise.h"
 
@@ -606,7 +606,7 @@ long ATDWRF(long where)
 long SETBIT(long bit)
 /*  Returns 2**bit for use in constructing bit-masks. */
 {
-    return(2 << bit);
+    return(1 << bit);
 }
 
 bool TSTBIT(long mask, int bit)