the array size should be 399x15 not 399x14. Because there are fifteen lines of code and it crashes as a result of that.
Oh, yes, that's it! Haven't noticed that the array indexing changed since B3D. *shame*
The second is the difference between having Debug mode turned on or off.
Again yes, should have turned the debugger on. *even more shame*
[qoute]Shorts are slower than Ints :) [/qoute]
I didn't know this. Will change all shorts to ints.
Thank you guys, you helped me a lot! :)