fix
This commit is contained in:
parent
ce739f6045
commit
d359957727
|
|
@ -390,7 +390,7 @@ float GameRenderer::getFov(float a, bool applyEffects)
|
||||||
shared_ptr<LocalPlayer> player = dynamic_pointer_cast<LocalPlayer>(mc->cameraTargetPlayer);
|
shared_ptr<LocalPlayer> player = dynamic_pointer_cast<LocalPlayer>(mc->cameraTargetPlayer);
|
||||||
int playerIdx = player ? player->GetXboxPad() : 0;
|
int playerIdx = player ? player->GetXboxPad() : 0;
|
||||||
float fov = m_fov;//70;
|
float fov = m_fov;//70;
|
||||||
if (fov < 1) fov = 0.01; // Crash fix
|
if (fov < 1) fov = 1; // Crash fix
|
||||||
|
|
||||||
if (applyEffects)
|
if (applyEffects)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue