X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FEnvironment%2FTerrain.cpp;h=9c8b96a3073e638da939399f32c5bcbcfb66aa4a;hb=cd451341c5ee01374268559885871ca9d454cbd0;hp=e85b71f5a954cccf6ad5b1f02b065fcb3fbfbcc3;hpb=cf610b0dfbf15ffafaefcae72a44957095fd7740;p=lugaru.git diff --git a/Source/Environment/Terrain.cpp b/Source/Environment/Terrain.cpp index e85b71f..9c8b96a 100644 --- a/Source/Environment/Terrain.cpp +++ b/Source/Environment/Terrain.cpp @@ -770,7 +770,7 @@ void Terrain::drawpatchother(int whichx, int whichy, float opacity) glDisableClientState(GL_TEXTURE_COORD_ARRAY); } -void Terrain::drawpatchotherother(int whichx, int whichy, float opacity) +void Terrain::drawpatchotherother(int whichx, int whichy) { glEnable(GL_BLEND); UpdateTransparencyotherother(whichx, whichy); @@ -983,7 +983,7 @@ void Terrain::draw(int layer) if (layer == 1 && textureness[i][j] != allfirst) drawpatchother(i, j, opacity); if (layer == 2 && textureness[i][j] != allfirst) - drawpatchotherother(i, j, opacity); + drawpatchotherother(i, j); } glPopMatrix(); }