Array index out of bounds error, tried solving, couldn't.
#4

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
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)