summaryrefslogtreecommitdiffhomepage
path: root/Stars45/Terrain.cpp
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-01-30 17:41:24 +0100
committerAki <please@ignore.pl>2022-01-30 17:41:24 +0100
commit51657e10769faa2617d546a06c42e4c62a19bb50 (patch)
tree688ad8b61ac02e50974684b9b7d3f886fb469e5f /Stars45/Terrain.cpp
parentdb987e23d5dd33a5db8764743facbb906ac22b0f (diff)
downloadstarshatter-51657e10769faa2617d546a06c42e4c62a19bb50.zip
starshatter-51657e10769faa2617d546a06c42e4c62a19bb50.tar.gz
starshatter-51657e10769faa2617d546a06c42e4c62a19bb50.tar.bz2
Removed trailing whitespace all over the place
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;
}