diff --git a/src/edu/nps/moves/dis7/utilities/stream/PduPlayer.java b/src/edu/nps/moves/dis7/utilities/stream/PduPlayer.java index f16251c1c90982eae40f6f7682f14d3dc0699b1b..aa7b44aef0d7361b2ebad75ca7d07e7575936235 100644 --- a/src/edu/nps/moves/dis7/utilities/stream/PduPlayer.java +++ b/src/edu/nps/moves/dis7/utilities/stream/PduPlayer.java @@ -265,8 +265,8 @@ public class PduPlayer { buffer = byteBuffer2.array(); - //When the byteBuffer stores the arry of Integers into the byte array it stores a 7 as 0 0 0 7. - //Therefore a shortBuffer is created where only every forth value is stored. + //When the byteBuffer stores the array of Integers into the byte array it stores a 7 as 0 0 0 7. + //Therefore a shortBuffer is created where only every fourth value is stored. //it must be done with modulo instead of testing for "0" because a "0" could be there as value and not as padding bufferShort = new byte[byteBuffer2.array().length / 4];