21.07.2012, 18:30
So I have my enum all setup, and the code compiles fine except for errors that pertain to unfinished pieces of the code. I want one (eventually more) of the slots in the
That is the enum that compiles correctly.
However when I add this, every single usage of the variable gPlayerData (which uses this enum for it's structure) gets an array index out of bounds error.
The compiler output (the line numbers don't really matter because if i comment out those lines it just goes to the next 26 calls to the variable)
That is the enum that compiles correctly.
However when I add this, every single usage of the variable gPlayerData (which uses this enum for it's structure) gets an array index out of bounds error.
The compiler output (the line numbers don't really matter because if i comment out those lines it just goes to the next 26 calls to the variable)