diff options
Diffstat (limited to 'source/blender/makesdna/DNA_sensor_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_sensor_types.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/source/blender/makesdna/DNA_sensor_types.h b/source/blender/makesdna/DNA_sensor_types.h index c56fe81ca19..4df3ecb5a11 100644 --- a/source/blender/makesdna/DNA_sensor_types.h +++ b/source/blender/makesdna/DNA_sensor_types.h @@ -213,11 +213,8 @@ typedef struct bJoystickSensor { #define SENS_NEG_PULSE_MODE 4 /* sensor->suppress */ -#define SENS_SUPPRESS_POSITIVE_BIT 0 -#define SENS_SUPPRESS_NEGATIVE_BIT 1 - -#define SENS_SUPPRESS_POSITIVE (1 << SENS_SUPPRESS_POSITIVE_BIT) -#define SENS_SUPPRESS_NEGATIVE (1 << SENS_SUPPRESS_NEGATIVE_BIT) +#define SENS_SUPPRESS_POSITIVE (1 << 0) +#define SENS_SUPPRESS_NEGATIVE (1 << 1) /* collision, ray sensor modes: */ /* A little bit fake: when property is active, the first bit is |