1
0
forked from 0ad/0ad

Fixes RNC and RNG after merging terrain and unit ambient colors in 1cb4ee1634.

This was SVN commit r24706.
This commit is contained in:
Vladislav Belov 2021-01-19 18:54:07 +00:00
parent 1311e22bb4
commit 7ec924107c
2 changed files with 2 additions and 6 deletions

View File

@ -41,8 +41,7 @@ Scenario = element Scenario {
element SunColor { suncolor_rgb } &
element SunElevation { angle } &
element SunRotation { angle } &
element TerrainAmbientColor { color_rgb } &
element UnitsAmbientColor { color_rgb } &
element AmbientColor { color_rgb } &
element Fog {
element FogFactor {
xsd:decimal { minInclusive = "0" } # TODO: what is the max?

View File

@ -98,10 +98,7 @@
<element name="SunRotation">
<ref name="angle"/>
</element>
<element name="TerrainAmbientColor">
<ref name="color_rgb"/>
</element>
<element name="UnitsAmbientColor">
<element name="AmbientColor">
<ref name="color_rgb"/>
</element>
<optional>