09.03.2013, 13:22
You can't pre-set values like that in the enum. Remove the '= 0's in the enum and this should work.
Additionally I should tell you two things: 1. Bools use "true" and "false" instead of "1" and "0" (Although I think it might work to use 1 and 0 too) 2. Bools are set to false when declaring, unless specified as true, so what you're trying to do isn't even necessary
Additionally I should tell you two things: 1. Bools use "true" and "false" instead of "1" and "0" (Although I think it might work to use 1 and 0 too) 2. Bools are set to false when declaring, unless specified as true, so what you're trying to do isn't even necessary