Fix misplaced parenthesis

[CL 2704193 by Ben Marsh in Main branch]
This commit is contained in:
Ben Marsh
2015-09-24 08:09:11 -04:00
committed by Ben.Marsh@epicgames.com
parent 5a0150033b
commit 7428769139

View File

@@ -1356,8 +1356,8 @@ namespace UnrealBuildTool
var TargetDescs = UEBuildTarget.ParseTargetCommandLine( Arguments, GetUProjectFile() );
UEBuildTarget CheckTarget = UEBuildTarget.CreateTarget( TargetDescs[0] ); // @todo ubtmake: This may not work in assembler only mode. We don't want to be loading target rules assemblies here either.
IUEBuildPlatform BuildPlatform = UEBuildPlatform.GetBuildPlatform(TargetDescs[0].Platform);
IUEToolChain ToolChain = UEToolChain.GetPlatformToolChain(BuildPlatform.GetCPPTargetPlatform(TargetDescs[0].Platform);
CheckTarget.SetupGlobalEnvironment(ToolChain));
IUEToolChain ToolChain = UEToolChain.GetPlatformToolChain(BuildPlatform.GetCPPTargetPlatform(TargetDescs[0].Platform));
CheckTarget.SetupGlobalEnvironment(ToolChain);
if ((CheckTarget.TargetType == TargetRules.TargetType.Game) ||
(CheckTarget.TargetType == TargetRules.TargetType.Server) ||
(CheckTarget.TargetType == TargetRules.TargetType.Client))