diff options
Diffstat (limited to 'src/GameDraw.cpp')
-rw-r--r-- | src/GameDraw.cpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/GameDraw.cpp b/src/GameDraw.cpp index 07905e6..9612a5b 100644 --- a/src/GameDraw.cpp +++ b/src/GameDraw.cpp @@ -720,14 +720,12 @@ int Game::DrawGLScene(void) glEnable(GL_LIGHT0); - //Change fov if zooming with scope - - if(!zoom)ReSizeGLScene(90,.1); - - if(zoom)ReSizeGLScene(10,.6); - + // Change fov if zooming with scope + if (zoom) + ReSizeGLScene(10.0f, 0.6f); + else + ReSizeGLScene(90.0f, 0.1f); nocolors=0; - } if(visions==1){ |