summaryrefslogtreecommitdiffhomepage
path: root/Stars45/Terrain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/Terrain.cpp')
-rw-r--r--Stars45/Terrain.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Stars45/Terrain.cpp b/Stars45/Terrain.cpp
index 24c836a..44c4033 100644
--- a/Stars45/Terrain.cpp
+++ b/Stars45/Terrain.cpp
@@ -61,7 +61,7 @@ const int PATCH_SIZE = 16;
// +--------------------------------------------------------------------+
Terrain::Terrain(TerrainRegion* trgn)
-: region(trgn), patches(0), water_patches(0), water(0),
+: region(trgn), patches(0), water_patches(0), water(0),
aprons(0), clouds(0), terrain_normals(0)
{
detail_frame = 0;
@@ -224,7 +224,7 @@ Terrain::BuildTerrain()
if (water_texture && patches[index]->MinHeight() < 3)
water_patches[index] = new(__FILE__,__LINE__) TerrainPatch(this, rect, p1, p2, 30);
-
+
else if (water_patches != 0)
water_patches[index] = 0;
}