Keep putting stuff like this in your code:
if (array.Length <= num15 + 1 || num15 < 0)
{
Log.Message("you wut");
}
EDIT: I guess I should clarify, personality in code = good. :)
Which class is that in? :P
I forgot... but man, if you look you will find so much :)
Its in GenStep_Terrain.GenerateRiverLookupTexture()
Lol, you can thank ZorbaTHut for that.
I basically never write such "personality" into my code. In fact if I saw that I might have asked Zorba to change it to a meaningful error message...
Whoops, that was debug code that accidentally got included - I was trying to track down a bug, and once I fixed the bug, I guess I forgot to remove the code. My mistake! :D