Revert "Crude port of megaregion mem corruption fix, by Rev"

This reverts commit 6b60fe40c6.
This commit is contained in:
Siana Gearz
2012-01-14 05:33:05 +01:00
parent 242134d2af
commit e835d51bdf
4 changed files with 11 additions and 9 deletions

View File

@@ -164,7 +164,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/256.f;
const F32 inv_width = 1.f/mWidth;
// OK, for now, just have the composition value equal the height at the point.
for (S32 j = y_begin; j < y_end; j++)