summaryrefslogtreecommitdiffhomepage
path: root/Stars45/TerrainPatch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/TerrainPatch.cpp')
-rw-r--r--Stars45/TerrainPatch.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Stars45/TerrainPatch.cpp b/Stars45/TerrainPatch.cpp
index c9108f6..309d376 100644
--- a/Stars45/TerrainPatch.cpp
+++ b/Stars45/TerrainPatch.cpp
@@ -930,7 +930,8 @@ TerrainPatch::Render(Video* video, DWORD flags)
return;
if (water) {
- UpdateSurfaceWaves(Vec3(0,0,0));
+ Vec3 vec(0, 0, 0);
+ UpdateSurfaceWaves(vec);
Illuminate(scene->Ambient(), scene->Lights());
}
else {