Skip to content

Commit 8132471

Browse files
committed
Moved g_fov to xrEngine
1 parent 0df6ce5 commit 8132471

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/xrEngine/xr_ioc_cmd.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -671,6 +671,7 @@ class CCC_CenterScreen : public IConsole_Command
671671
}
672672
};
673673

674+
ENGINE_API float g_fov = 55.0f;
674675
ENGINE_API float psHUD_FOV = 0.45f;
675676

676677
// extern int psSkeletonUpdate;

src/xrGame/Actor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -916,7 +916,7 @@ void CActor::g_Physics(Fvector& _accel, float jump, float dt)
916916
}
917917
}
918918
}
919-
float g_fov = 55.0f;
919+
extern ENGINE_API float g_fov;
920920

921921
float CActor::currentFOV()
922922
{

src/xrGame/Level.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class CStreamReader;
4343
class CDebugRenderer;
4444
#endif
4545

46-
extern float g_fov;
46+
extern ENGINE_API float g_fov;
4747

4848
const int maxRP = 64;
4949
const int maxTeams = 32;

0 commit comments

Comments
 (0)