X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Finit.h;h=08f999e3e6df1a51179d58384a4d774e92a85e2e;hb=ea6e4698905d7440a265e323d03cf13fc323c44b;hp=e3f8858523d179ca83ce1a3e0e634d32f4ba5587;hpb=1e5cae5e3ab889c3bcba80a065c6d7ba1e6d28a2;p=rocksndiamonds.git diff --git a/src/init.h b/src/init.h index e3f88585..08f999e3 100644 --- a/src/init.h +++ b/src/init.h @@ -16,6 +16,7 @@ #include "main.h" +#if 1 #define setMoveIntoAcidProperty(l, e, v) \ (setBitfieldProperty(&(l)->can_move_into_acid_bits, \ EP_CAN_MOVE_INTO_ACID, e, v)) @@ -32,6 +33,12 @@ void setBitfieldProperty(int *, int, int, boolean); boolean getBitfieldProperty(int *, int, int); +#else + +void setMoveIntoAcidProperty(struct LevelInfo *, int, boolean); +boolean getMoveIntoAcidProperty(struct LevelInfo *, int); +#endif + void InitElementPropertiesStatic(void); void InitElementPropertiesEngine(int);