*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1482 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2007-12-25 09:00:25 +00:00
parent 070afb8eda
commit 2b33c1cf5e
-4
View File
@@ -553,8 +553,6 @@ void drawhudgun(int w, int h, float aspect, int farplane)
{
if(scoped && player1->weaponsel->type==GUN_SNIPER) return;
glDisable(GL_DEPTH_TEST);
glMatrixMode(GL_PROJECTION);
glLoadIdentity();
gluPerspective((float)100.0f*h/w, aspect, 0.3f, farplane); // fov fixed at 100°
@@ -567,8 +565,6 @@ void drawhudgun(int w, int h, float aspect, int farplane)
glLoadIdentity();
gluPerspective((float)fov*h/w, aspect, 0.15f, farplane);
glMatrixMode(GL_MODELVIEW);
glEnable(GL_DEPTH_TEST);
}
bool outsidemap(physent *pl)