X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=misc.c;h=cfca544393d7c064baa504efae952c2e8c8d8928;hb=b1fafc4d4db33580b1966dfe46d9b54e61c9c0d7;hp=1e2f600573f50f0c67476c48168298046b6b46fb;hpb=7e1ef875fcc59af804db2a521339463a73acb64d;p=open-adventure.git diff --git a/misc.c b/misc.c index 1e2f600..cfca544 100644 --- a/misc.c +++ b/misc.c @@ -3,8 +3,8 @@ #include #include #include + #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)