diff --git a/src/Flags.cpp b/src/Flags.cpp index ee18b4a3..3ab98ce9 100644 --- a/src/Flags.cpp +++ b/src/Flags.cpp @@ -7,8 +7,8 @@ unsigned char gFlagNPC[1000]; unsigned char gSkipFlag[8]; -#define SET_BIT(x, i) ((x)[(i) / 8] |= 1 << (i) % 8;) -#define UNSET_BIT(x, i) ((x)[(i) / 8] &= ~(1 << (i) % 8);) +#define SET_BIT(x, i) ((x)[(i) / 8] |= 1 << (i) % 8) +#define UNSET_BIT(x, i) ((x)[(i) / 8] &= ~(1 << (i) % 8)) #define GET_BIT(x, i) ((x)[(i) / 8] & (1 << (i) % 8)) //Flag inits