Skip to content

Commit

Permalink
Fixed error - missing () causing compiler fail
Browse files Browse the repository at this point in the history
  • Loading branch information
rvstwi committed Jul 17, 2021
1 parent 493b06d commit 567437f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OpenRenderFix/classes/OpenRender.uc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ simulated event RenderFirstPersonGun(Canvas C)
W = R6Weapons(P.EngineWeapon);

//0 is inactive - render at world FOV
if ( DebugFPWeapRender != 0.0 ) && ( !Level.m_bInGamePlanningActive ) && ( PC.m_bUseFirstPersonWeapon ) && ( W.m_FPHands != none )
if ( ( DebugFPWeapRender != 0.0 ) && ( !Level.m_bInGamePlanningActive ) && ( PC.m_bUseFirstPersonWeapon ) && ( W.m_FPHands != none ) )
{
//do the fp position calculation
W.m_FPHands.SetLocation(P.R6CalcDrawLocation(P.EngineWeapon,rNewRotation,P.EngineWeapon.m_vPositionOffset));
Expand Down Expand Up @@ -58,4 +58,4 @@ simulated event RenderFirstPersonGun(Canvas C)
defaultproperties
{
DebugFPWeapRender=-90.0
}
}

0 comments on commit 567437f

Please sign in to comment.