Fix the "Advanced water" box from being ticked when then it shouldn't be on loading.

This was SVN commit r12808.
This commit is contained in:
wraitii 2012-11-02 09:59:15 +00:00
parent f63b795906
commit 114593b9ad

View File

@ -334,7 +334,7 @@
<!-- Settings / Advanced Water -->
<object size="0 85 100%-80 110" type="text" style="RightLabelText" ghost="true">Enable Advanced Water</object>
<object name="superFancyWaterCheckbox" size="100%-56 90 100%-30 115" type="checkbox" style="StoneCrossBox" checked="true">
<action on="Load">if (renderer.superFancyWater) { if (renderer.fancyWater) this.checked = true; else this.checked = false; }</action>
<action on="Load">if (renderer.superFancyWater) this.checked = true; else this.checked = false;</action>
<action on="Press">renderer.superFancyWater = this.checked; </action>
</object>