this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update CamTargetComponent.java

clover d5fc48e7 c3e33853

+4 -1
+4 -1
src/main/java/game/map/marker/CamTargetComponent.java
··· 144 144 145 145 useZone.set(xmr.readBoolean(compElem, ATTR_CAM_USE_SAMPLE)); 146 146 if (useZone.get()) { 147 - if (xmr.hasAttribute(compElem, ATTR_CAM_OVERRIDE_LENGTH)) 147 + if (xmr.hasAttribute(compElem, ATTR_CAM_OVERRIDE_LENGTH)) { 148 148 boomLength.set(xmr.readFloat(compElem, ATTR_CAM_OVERRIDE_LENGTH)); 149 + overrideDist.set(true); 150 + } 149 151 150 152 if (xmr.hasAttribute(compElem, ATTR_CAM_OVERRIDE_ANGLES)) { 151 153 float[] angles = xmr.readFloatArray(compElem, ATTR_CAM_OVERRIDE_ANGLES, 2); 152 154 boomPitch.set(angles[0]); 153 155 viewPitch.set(angles[1]); 156 + overrideAngles.set(true); 154 157 } 155 158 } 156 159 else {