28.10.2014, 01:30
We need to know how you store the values into the objectinfos enum, only then we can know what's wrong with it.
Not only that, but why do you start a loop in 1 when you deal with arrays? All arrays start in 0 not 1.
Also you don't need that continue inside a if else statement. Not only that I do not understand why you break the loop like that.
So basically show us the whole cmd and how you set the ObjectsInfo values.
Not only that, but why do you start a loop in 1 when you deal with arrays? All arrays start in 0 not 1.
Also you don't need that continue inside a if else statement. Not only that I do not understand why you break the loop like that.
So basically show us the whole cmd and how you set the ObjectsInfo values.