This commit is contained in:
ikpil 2023-09-10 10:10:47 +09:00
parent 67a1713e47
commit 4f3804ae3d
2 changed files with 1 additions and 3 deletions

View File

@ -624,7 +624,7 @@ public class DebugDraw
public static int DuDarkenCol(int col)
{
return (int)(((col >> 1) & 0x007f7f7f) | (col & 0xff000000));
return (int)((uint)((col >> 1) & 0x007f7f7f) | (col & 0xff000000));
}

View File

@ -30,8 +30,6 @@ namespace DotRecast.Recast.Toolset.Tools
public NavMeshBuildResult Build(IInputGeomProvider geom, RcNavMeshBuildSettings setting, RcByteOrder order, bool cCompatibility)
{
DtStatus status;
if (null == geom || null == geom.GetMesh())
{
//m_ctx->log(RC_LOG_ERROR, "buildTiledNavigation: No vertices and triangles.");