Possible bug fix for rawheightmap

Hi. I noticed that my terrain tends to wrap around itself and so darker/lower points below a certain point are left high in the air. I got to messing with the actual JME source and i changed this line in RawHeightMap.java



heightData[index] = dis.readShort();



to



heightData[index] = dis.readUnsignedShort();



and it appeared to fix it. Is this is a Photoshop RAW issue only?