X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FEnvironment%2FTerrain.hpp;fp=Source%2FEnvironment%2FTerrain.hpp;h=f6525c4b0d286777f6d00ab1c5bd4a77b3cf340c;hb=cd451341c5ee01374268559885871ca9d454cbd0;hp=444a47bf2212ff81df2bdacfcae399a197db447e;hpb=cf610b0dfbf15ffafaefcae72a44957095fd7740;p=lugaru.git diff --git a/Source/Environment/Terrain.hpp b/Source/Environment/Terrain.hpp index 444a47b..f6525c4 100644 --- a/Source/Environment/Terrain.hpp +++ b/Source/Environment/Terrain.hpp @@ -68,7 +68,7 @@ public: short size; int patchobjectnum[subdivision][subdivision]; - int patchobjects[subdivision][subdivision][300]; + unsigned int patchobjects[subdivision][subdivision][300]; float scale; int type; @@ -124,7 +124,7 @@ public: private: void drawpatch(int whichx, int whichy, float opacity); void drawpatchother(int whichx, int whichy, float opacity); - void drawpatchotherother(int whichx, int whichy, float opacity); + void drawpatchotherother(int whichx, int whichy); void UpdateTransparency(int whichx, int whichy); void UpdateTransparencyother(int whichx, int whichy); void UpdateTransparencyotherother(int whichx, int whichy);