28.08.2015, 13:14
Quote:
sizeof(randomtree) is 3. Hence, randomtree1 can be 0, 1 or 2. this is the index, not the object model obviously. You need to access the array with the index to get the object model. On another note, you don't need a 2D array for this. Makes everything needlessly complicated.
pawn Код:
|