From cd4ea6d6227e6ff2ff213498a566197ea43e7c6d Mon Sep 17 00:00:00 2001 From: ikpil Date: Sun, 26 Mar 2023 14:13:36 +0900 Subject: [PATCH] bugfix - buildTypes flags in jumpLinkBuilderToolParams --- src/DotRecast.Recast.Demo/Tools/JumpLinkBuilderToolParams.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DotRecast.Recast.Demo/Tools/JumpLinkBuilderToolParams.cs b/src/DotRecast.Recast.Demo/Tools/JumpLinkBuilderToolParams.cs index 0530815..ad09c05 100644 --- a/src/DotRecast.Recast.Demo/Tools/JumpLinkBuilderToolParams.cs +++ b/src/DotRecast.Recast.Demo/Tools/JumpLinkBuilderToolParams.cs @@ -39,5 +39,5 @@ public class JumpLinkBuilderToolParams public float edgeJumpHeight = 0.4f; public float edgeJumpDownMaxHeight = 2.5f; public float edgeJumpUpMaxHeight = 0.3f; - public int buildTypes = (1 << JumpLinkType.EDGE_CLIMB_DOWN.Bit) | (1 << JumpLinkType.EDGE_JUMP.Bit); + public int buildTypes = JumpLinkType.EDGE_CLIMB_DOWN.Bit | JumpLinkType.EDGE_JUMP.Bit; } \ No newline at end of file