diff --git a/Core/RageModelDecoder.cs b/Core/RageModelDecoder.cs index 870f0df..cf93fef 100644 --- a/Core/RageModelDecoder.cs +++ b/Core/RageModelDecoder.cs @@ -121,7 +121,7 @@ private static bool LooksLikeDrawableHeader(ReadOnlySpan prefix, bool embe !(SystemPointer(name) || (embedded && name == 0))) return false; Vector3 min = ReadVector(prefix, 48), max = ReadVector(prefix, 64); float radius = BinaryPrimitives.ReadSingleLittleEndian(prefix[44..]); - return ValidBounds(min, max) && float.IsFinite(radius) && radius is > 0 and < 1_000_000; + return ValidBounds(min, max) && float.IsFinite(radius) && radius is >= 0 and < 1_000_000; } public static RageModel? Inspect(ReadOnlySpan system, ReadOnlySpan graphics) => Decode(system, graphics);