Skip to content

Commit

Permalink
Fixed compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin113D committed Nov 5, 2024
1 parent 586996f commit f8f9b1c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/SA3D.Modeling/File/ModelFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,8 @@ private static void WriteNJ(EndianStackWriter writer, Node model, ModelFormat fo
case ModelFormat.SA2:
writer.WriteUShort(CM);
break;
case ModelFormat.SA2B:
case ModelFormat.Buffer:
default:
throw new ArgumentException($"Attach format {format} not supported for NJ binaries");
}
Expand Down

0 comments on commit f8f9b1c

Please sign in to comment.