Skip to content

Commit

Permalink
loadWaterTextures: Fix loading high water diffuse textures
Browse files Browse the repository at this point in the history
  • Loading branch information
past-due committed Oct 14, 2024
1 parent 0c5b6f6 commit 8e6fd93
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/terrain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,8 @@ void loadWaterTextures(int maxTerrainTextureSize, optional<int> 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"));
Expand Down

0 comments on commit 8e6fd93

Please sign in to comment.