Skip to content

Commit

Permalink
fix: NiPhysXShapeDesc (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
AngeloTadeucci authored Jun 10, 2024
1 parent ff52af9 commit f84e82f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Maple2.File.IO/Nif/NiPhysXShapeDesc.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ public override void Parse(NifDocument document) {
base.Parse(document);

ShapeType = (NxShapeType) document.Reader.ReadAdjustedUInt32();
Flags = (NxShapeFlag) document.Reader.ReadAdjustedUInt32();
LocalPose = document.Reader.ReadAdjustedMatrix4x3();
Flags = (NxShapeFlag) document.Reader.ReadAdjustedUInt32();
CollisionGroup = document.Reader.ReadAdjustedUInt16();
MaterialIndex = document.Reader.ReadAdjustedUInt16();
Density = document.Reader.ReadAdjustedFloat32();
Expand Down
2 changes: 1 addition & 1 deletion Maple2.File.Parser/Maple2.File.Parser.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<PackageTags>MapleStory2, File, Parser, m2d, xml</PackageTags>
<!-- Use following lines to write the generated files to disk. -->
<EmitCompilerGeneratedFiles Condition=" '$(Configuration)' == 'Debug' ">true</EmitCompilerGeneratedFiles>
<PackageVersion>2.1.18</PackageVersion>
<PackageVersion>2.1.19</PackageVersion>
<TargetFramework>net8.0</TargetFramework>
<PackageReadmeFile>README.md</PackageReadmeFile>
<ImplicitUsings>enable</ImplicitUsings>
Expand Down
2 changes: 0 additions & 2 deletions Maple2.File.Tests/NifParserTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ public void TestLlidHash() {
public void TestNifParser() {
var parser = new NifParser(TestUtils.ModelM2dReaders);

var a = parser.Parse();

foreach ((uint llid, string relpath, NifDocument document) in parser.Parse()) {
try {
document.Parse();
Expand Down

0 comments on commit f84e82f

Please sign in to comment.