I found out that if I comment out this part:
-----------
upleft_coords.x = upper_left.pos_x;
upleft_coords.y = upper_left.pos_y;
upleft_coords.z = camera_height;
vec_for_screen(upleft_coords, camera);

upright_coords.x = upper_right.pos_x;
upright_coords.y = upper_right.pos_y;
upright_coords.z = camera_height;
vec_for_screen(upright_coords, camera);

downleft_coords.x = lower_left.pos_x;
downleft_coords.y = lower_left.pos_y;
downleft_coords.z = camera_height;
vec_for_screen (downleft_coords, camera);

downright_coords.x = lower_right.pos_x;
downright_coords.y = lower_right.pos_y;
downright_coords.z = camera_height;
vec_for_screen (downright_coords, camera);
-----------
then the engine stops working, but if I comment out everything else and don't comment that part, then the crash happens.

what can be wrong?

thanks!

- Muhsin Kaymak


Come and play my new browsergame - Valley Of Wolves:

http://www.mafiacreator.com/ValleyOfWolves

Hurry and be the first to take over the different business' in the Valley Of Wolves, before anybody else does it!
And be the most feared MafiaBoss in the World!!