Crude port of megaregion mem corruption fix, by Rev

This commit is contained in:
Siana Gearz
2011-08-18 22:15:04 +02:00
parent 9d05a11ef0
commit 6b60fe40c6
4 changed files with 9 additions and 11 deletions

View File

@@ -163,7 +163,7 @@ BOOL LLVLComposition::generateHeights(const F32 x, const F32 y,
const F32 xyScaleInv = (1.f / xyScale);
const F32 zScaleInv = (1.f / zScale);
const F32 inv_width = 1.f/mWidth;
const F32 inv_width = 1.f/256.f;
// OK, for now, just have the composition value equal the height at the point.
for (S32 j = y_begin; j < y_end; j++)