X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FTerrain.cpp;h=af56b86150c8deb9a76120fed91add01a81187cd;hb=3f27343fe706bb582974ca77dffb39ae1791d76f;hp=8c0335c8a8872b8f2dd4250be708c56a8c9c0e9d;hpb=250a16d5fa14b462b44b1e698372164ac33aa721;p=lugaru.git diff --git a/Source/Terrain.cpp b/Source/Terrain.cpp index 8c0335c..af56b86 100644 --- a/Source/Terrain.cpp +++ b/Source/Terrain.cpp @@ -198,7 +198,6 @@ void Terrain::UpdateTransparency(int whichx, int whichy) void Terrain::UpdateTransparencyother(int whichx, int whichy) { - static XYZ vertex; static int i, j, a, b, c, d, patch_size, stepsize; patch_size = size / subdivision; @@ -803,7 +802,7 @@ void Terrain::drawpatchotherother(int whichx, int whichy, float opacity) float Terrain::getHeight(float pointx, float pointz) { static int tilex, tiley; - static XYZ startpoint, endpoint, intersect, triangle[3], average; + static XYZ startpoint, endpoint, intersect, triangle[3]; pointx /= scale; pointz /= scale;