Skip to content

Commit

Permalink
Update error message to be more useful
Browse files Browse the repository at this point in the history
  • Loading branch information
Retera committed Sep 17, 2022
1 parent ed2f593 commit 76fdc41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion craft3data/src/com/hiveworkshop/wc3/mdx/LayerChunk.java
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public void load(final BlizzardDataInputStream in, final int version) throws IOE
if (ModelUtils.isCombinedHDLayerSupported(version)) {
shaderTypeId = in.readInt();
if (shaderTypeId != 0 && shaderTypeId != 1) {
System.err.println("Whoa!" + shaderTypeId);
System.err.println("MDX1100 parser reached unexpected shader type ID: " + shaderTypeId);
}
final int textureIdCount = in.readInt();
textureIdsMDLX1100 = new int[TEXTURE_TYPE_INDICES];
Expand Down

0 comments on commit 76fdc41

Please sign in to comment.