Restore orthd calculation

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6755 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Alejandro V. Garcia
2012-02-09 08:18:01 +00:00
parent e5fbd17370
commit b8b83e52a2
+1 -1
View File
@@ -802,7 +802,7 @@ void drawminimap(int w, int h)
camera1->o.z = mapdims[7] + 1;
camera1->pitch = -90;
camera1->yaw = 0;
int orthd = gdim/2;
int orthd = 2 + gdim/2;
glViewport(2, 2, size-4, size-4); // !not wsize here
glClearDepth(0.0);
glClearColor(0, 0, 0, 0);