projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Correct the definition of SETBIT.
[open-adventure.git]
/
misc.c
diff --git
a/misc.c
b/misc.c
index 6b9e761d1b0ecd9375a66390c2214e92f68e1654..cfca544393d7c064baa504efae952c2e8c8d8928 100644
(file)
--- a/
misc.c
+++ b/
misc.c
@@
-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)