mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-14 18:15:28 -04:00
Fix view distance of 8-15 loading as 16 when you next start the game
This commit is contained in:
parent
c4e84d4ed9
commit
6589ab1beb
@ -349,7 +349,7 @@ static void LoadOptions(void) {
|
||||
Game_SimpleArmsAnim = Options_GetBool(OPT_SIMPLE_ARMS_ANIM, false);
|
||||
Game_ViewBobbing = Options_GetBool(OPT_VIEW_BOBBING, true);
|
||||
|
||||
Game_ViewDistance = Options_GetInt(OPT_VIEW_DISTANCE, 16, 4096, 512);
|
||||
Game_ViewDistance = Options_GetInt(OPT_VIEW_DISTANCE, 8, 4096, 512);
|
||||
Game_UserViewDistance = Game_ViewDistance;
|
||||
|
||||
Game_DefaultFov = Options_GetInt(OPT_FIELD_OF_VIEW, 1, 179, 70);
|
||||
|
@ -142,7 +142,7 @@ void Window_UpdateRawMouse(void);
|
||||
void Window_DisableRawMouse(void);
|
||||
|
||||
#ifdef CC_BUILD_GL
|
||||
/* Initialises an OpenGL context that most closely matches the input arguments. */
|
||||
/* Initialises an OpenGL context. */
|
||||
/* NOTE: You MUST have created the window beforehand, as the GL context is attached to the window. */
|
||||
void GLContext_Init(void);
|
||||
/* Updates the OpenGL context after the window is resized. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user