Skip to content

Commit

Permalink
Implement model hierarchy (LostArtefacts#627)
Browse files Browse the repository at this point in the history
  • Loading branch information
lahm86 authored Apr 25, 2024
1 parent 5733ee4 commit 7ea3396
Show file tree
Hide file tree
Showing 43 changed files with 821 additions and 1,202 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ protected override bool Evaluate(TR2Level level)
TRModel model = level.Models.Find(m => m.ID == (uint)TR2Type.BirdMonster);
if (model != null)
{
return level.Animations[model.Animation + 20].FrameEnd == level.Animations[model.Animation + 19].FrameEnd;
return model.Animations[20].FrameEnd == model.Animations[19].FrameEnd;
}
return false;
}
Expand Down
Loading

0 comments on commit 7ea3396

Please sign in to comment.