Quote:
I use a large entity array with this dimension ENTITY* ent[16][16][3][3];


I didn't think you could use a array of entity pointers like this. But I don't know for sure. You might be better using one array of pointers ENTITY* ent[16]; and another array for what ever data is in the rest. var ent_data[16][3][3]; But I am wildly guessing here. My question is what data is inside the other 3 dimension of this pointer array ?