mirror of
https://github.com/kwsch/pk3DS.git
synced 2026-10-02 05:46:47 -05:00
Fix maison count
why did this hide out forever? (because nobody used it since refactored)
This commit is contained in:
@@ -15,7 +15,7 @@ public class Trainer
|
||||
public Trainer(byte[] data)
|
||||
{
|
||||
Class = BitConverter.ToUInt16(data, 0);
|
||||
Count = BitConverter.ToUInt16(data, 0);
|
||||
Count = BitConverter.ToUInt16(data, 2);
|
||||
Choices = new ushort[Count];
|
||||
for (int i = 0; i < Count; i++)
|
||||
Choices[i] = BitConverter.ToUInt16(data, 4 + 2 * i);
|
||||
|
||||
@@ -15,7 +15,7 @@ public class Trainer
|
||||
public Trainer(byte[] data)
|
||||
{
|
||||
Class = BitConverter.ToUInt16(data, 0);
|
||||
Count = BitConverter.ToUInt16(data, 0);
|
||||
Count = BitConverter.ToUInt16(data, 2);
|
||||
Choices = new ushort[Count];
|
||||
for (int i = 0; i < Count; i++)
|
||||
Choices[i] = BitConverter.ToUInt16(data, 4 + 2 * i);
|
||||
|
||||
Reference in New Issue
Block a user