Skip to content

Commit

Permalink
Fixed NBS layer panning reading
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphiMC committed May 11, 2024
1 parent 6560f22 commit b17ceb4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public NbsLayer(final NbsHeader header, final LittleEndianDataInputStream dis) t
}
this.volume = dis.readByte();
if (header.getVersion() >= 2) {
this.panning = dis.readByte();
this.panning = (short) dis.readUnsignedByte();
}
}

Expand Down

0 comments on commit b17ceb4

Please sign in to comment.