hedgewars/uLandObjects.pas
changeset 2272 c59656d7b1de
parent 2171 8208946331ba
child 2275 3f56c99a70f8
--- a/hedgewars/uLandObjects.pas	Fri Jul 24 16:43:19 2009 +0000
+++ b/hedgewars/uLandObjects.pas	Fri Jul 24 19:42:06 2009 +0000
@@ -372,7 +372,7 @@
 Readln(f, c2.r, c2.g, c2. b);
 // read water gradient colors
 Readln(f, WaterColorArray[0].r, WaterColorArray[0].g, WaterColorArray[0].b);
-Readln(f, WaterColorArray[2].r, WaterColorArray[2].g, WaterColorArray[2].b);
+Readln(f, WaterColorArray[2].r, WaterColorArray[2].g, WaterColorArray[2].b, cWaterOpacity);
 WaterColorArray[0].a := 255;
 WaterColorArray[2].a := 255;
 WaterColorArray[1]:= WaterColorArray[0];