summaryrefslogtreecommitdiffstats
path: root/src/graphics/engine/water.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphics/engine/water.cpp')
-rw-r--r--src/graphics/engine/water.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/graphics/engine/water.cpp b/src/graphics/engine/water.cpp
index 0ec52eb..8fbd1ae 100644
--- a/src/graphics/engine/water.cpp
+++ b/src/graphics/engine/water.cpp
@@ -519,10 +519,7 @@ void Gfx::CWater::Create(Gfx::WaterType type1, Gfx::WaterType type2, const std::
VaporFlush();
if (! m_fileName.empty())
- {
- m_engine->LoadTexture(m_fileName, 0);
- m_engine->LoadTexture(m_fileName, 1);
- }
+ m_engine->LoadTexture(m_fileName);
if (m_terrain == nullptr)
m_terrain = static_cast<CTerrain*>(m_iMan->SearchInstance(CLASS_TERRAIN));