I have another mysterious crash. Directly after the declaration of the array the lines work fine but later, when the array has changed always, I want to clear it with this lines but it crashes.

Code:
ENTITY* next1[50];

for(i = 0; i < 49; i++) {
	next1[i] = NULL; // no problem here
}
...
next1[0] = an_entity // example
...
for(i = 0; i < 49; i++) {
	next1[i] = NULL; // here it crashes
}



Last edited by Toryno; 07/15/10 23:03.

Thanks for reading, thinking, answering wink