diff --git a/src/DotRecast.Recast.Demo/RecastDemo.cs b/src/DotRecast.Recast.Demo/RecastDemo.cs index 270bfef..b6926e9 100644 --- a/src/DotRecast.Recast.Demo/RecastDemo.cs +++ b/src/DotRecast.Recast.Demo/RecastDemo.cs @@ -553,7 +553,7 @@ public class RecastDemo : IRecastDemoChannel { foreach (RcBuilderResult result in _sample.GetRecastResults()) { - if (result.SolidHeightfiled != null) + if (result.CompactHeightfield != null) { if (!hasBound) {