From 65b10f72fa8d9fe2cec4404057c2881532adaeed Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sat, 7 Sep 2024 14:52:12 -0400 Subject: [PATCH] Track fields updated --- src/engine/wpak/PowerActionParser.java | 6 +++--- src/engine/wpak/data/TrackEntry.java | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/engine/wpak/PowerActionParser.java b/src/engine/wpak/PowerActionParser.java index a10352a5..b66f707e 100644 --- a/src/engine/wpak/PowerActionParser.java +++ b/src/engine/wpak/PowerActionParser.java @@ -179,9 +179,9 @@ public class PowerActionParser { case "Track": trackEntry = new TrackEntry(); trackEntry.action_id = headerIterator.next(); - trackEntry.unknown1 = Boolean.parseBoolean(headerIterator.next()); - trackEntry.unknown2 = Boolean.parseBoolean(headerIterator.next()); - trackEntry.type = headerIterator.next(); + trackEntry.trackPlayer = Boolean.parseBoolean(headerIterator.next()); + trackEntry.trackCorpse = Boolean.parseBoolean(headerIterator.next()); + trackEntry.filter = headerIterator.next(); trackEntry.min = Integer.parseInt(headerIterator.next()); trackEntry.max = Integer.parseInt(headerIterator.next()); powerAction.trackEntry = trackEntry; diff --git a/src/engine/wpak/data/TrackEntry.java b/src/engine/wpak/data/TrackEntry.java index d5161795..18bfc3cb 100644 --- a/src/engine/wpak/data/TrackEntry.java +++ b/src/engine/wpak/data/TrackEntry.java @@ -11,9 +11,9 @@ package engine.wpak.data; public class TrackEntry { public String action_id; - public Boolean unknown1; - public Boolean unknown2; - public String type; + public Boolean trackPlayer; + public Boolean trackCorpse; + public String filter; public int min; public int max; }