From 8e6fd93577a748fa76d4b5e05d2895cc1d29c49c Mon Sep 17 00:00:00 2001 From: past-due <30942300+past-due@users.noreply.github.com> Date: Mon, 14 Oct 2024 14:13:57 -0400 Subject: [PATCH] loadWaterTextures: Fix loading high water diffuse textures --- src/terrain.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/terrain.cpp b/src/terrain.cpp index b31a90afeeb..e05e371c3e8 100644 --- a/src/terrain.cpp +++ b/src/terrain.cpp @@ -926,7 +926,8 @@ void loadWaterTextures(int maxTerrainTextureSize, optional maxTerrainAuxTex return fullName; }; - // check water optional textures.push_back(optTexturenameToPath("page-80-water-1.png")); + // check water optional textures + waterTextureFilenames.push_back(optTexturenameToPath("page-80-water-1.png")); waterTextureFilenames.push_back(optTexturenameToPath("page-81-water-2.png")); waterTextureFilenames_nm.push_back(optTexturenameToPath("page-80-water-1_nm.png")); waterTextureFilenames_nm.push_back(optTexturenameToPath("page-81-water-2_nm.png"));