summaryrefslogtreecommitdiffstats
path: root/src/render
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-07-11 11:03:56 +0200
committerSergeanur <s.anureev@yandex.ua>2020-07-11 11:04:26 +0200
commit6eb8f6ae5a87fe32c93388e67559da988f48fb7f (patch)
tree3e803214b7955c83077914407ad4c4b2d2f1c83e /src/render
parentenable island loading for now (diff)
downloadre3-6eb8f6ae5a87fe32c93388e67559da988f48fb7f.tar
re3-6eb8f6ae5a87fe32c93388e67559da988f48fb7f.tar.gz
re3-6eb8f6ae5a87fe32c93388e67559da988f48fb7f.tar.bz2
re3-6eb8f6ae5a87fe32c93388e67559da988f48fb7f.tar.lz
re3-6eb8f6ae5a87fe32c93388e67559da988f48fb7f.tar.xz
re3-6eb8f6ae5a87fe32c93388e67559da988f48fb7f.tar.zst
re3-6eb8f6ae5a87fe32c93388e67559da988f48fb7f.zip
Diffstat (limited to 'src/render')
-rw-r--r--src/render/Draw.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/render/Draw.cpp b/src/render/Draw.cpp
index bb37a3a3..db87e76d 100644
--- a/src/render/Draw.cpp
+++ b/src/render/Draw.cpp
@@ -3,6 +3,7 @@
#include "Draw.h"
#include "Frontend.h"
#include "Camera.h"
+#include "CutsceneMgr.h"
#ifdef ASPECT_RATIO_SCALE
float CDraw::ms_fAspectRatio = DEFAULT_ASPECT_RATIO;
@@ -62,7 +63,10 @@ void
CDraw::SetFOV(float fov)
{
#ifdef ASPECT_RATIO_SCALE
- ms_fScaledFOV = ConvertFOV(fov);
+ if (!CCutsceneMgr::IsRunning())
+ ms_fScaledFOV = ConvertFOV(fov);
+ else
+ ms_fScaledFOV = fov;
#endif
ms_fFOV = fov;
}