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.
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
}