X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Finit.h;fp=src%2Finit.h;h=08f999e3e6df1a51179d58384a4d774e92a85e2e;hb=27761d23147efd8150fd8ca9601fa30f623ce573;hp=ca22ef6e1662a2c7acd76fb2accae3b710fd36b2;hpb=5a2237add0a19d1559c0fe20c3f27651a71adf6c;p=rocksndiamonds.git diff --git a/src/init.h b/src/init.h index ca22ef6e..08f999e3 100644 --- a/src/init.h +++ b/src/init.h @@ -17,17 +17,17 @@ #include "main.h" #if 1 -#define setMoveIntoAcidProperty(l, e, v) \ +#define setMoveIntoAcidProperty(l, e, v) \ (setBitfieldProperty(&(l)->can_move_into_acid_bits, \ EP_CAN_MOVE_INTO_ACID, e, v)) -#define getMoveIntoAcidProperty(l, e) \ +#define getMoveIntoAcidProperty(l, e) \ (getBitfieldProperty(&(l)->can_move_into_acid_bits, \ EP_CAN_MOVE_INTO_ACID, e)) -#define setDontCollideWithProperty(l, e, v) \ - (setBitfieldProperty(&(l)->can_move_into_acid_bits, \ +#define setDontCollideWithProperty(l, e, v) \ + (setBitfieldProperty(&(l)->dont_collide_with_bits, \ EP_DONT_COLLIDE_WITH, e, v)) -#define getDontCollideWithProperty(l, e) \ - (getBitfieldProperty(&(l)->can_move_into_acid_bits, \ +#define getDontCollideWithProperty(l, e) \ + (getBitfieldProperty(&(l)->dont_collide_with_bits, \ EP_DONT_COLLIDE_WITH, e)) void setBitfieldProperty(int *, int, int, boolean);