From a2f7763d97edc68ce2cbe764e27a8a9d6663d2cd Mon Sep 17 00:00:00 2001 From: Spoike Date: Sat, 14 Jul 2012 17:33:44 +0000 Subject: [PATCH] grr git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4070 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/gl/gl_heightmap.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/engine/gl/gl_heightmap.c b/engine/gl/gl_heightmap.c index de059802a..e1f547f6a 100644 --- a/engine/gl/gl_heightmap.c +++ b/engine/gl/gl_heightmap.c @@ -376,8 +376,8 @@ static void Terr_SaveSection(heightmap_t *hm, hmsection_t *s, int sx, int sy) ds.heights[i] = LittleFloat(s->heights[i]); } ds.holes = s->holes; - ds.minh = s->minh: - ds.maxh = s->maxh: + ds.minh = s->minh; + ds.maxh = s->maxh; FS_WriteFile(Terr_DiskSectionName(hm, sx, sy), &ds, sizeof(ds), FS_GAMEONLY); #endif @@ -577,7 +577,7 @@ void Terr_DrawTerrainModel (batch_t **batches, entity_t *e) culldist += 4096; } else - culldist = 999999999999999f; + culldist = 999999999999999.f; if (culldist > gl_maxdist.value && gl_maxdist.value>0) culldist = gl_maxdist.value; @@ -623,8 +623,8 @@ void Terr_DrawTerrainModel (batch_t **batches, entity_t *e) Terr_InitLightmap(s); } - s->minh = 9999999999999999f; - s->maxh = -9999999999999999f; + s->minh = 9999999999999999.f; + s->maxh = -9999999999999999.f; if (!mesh->xyz_array) {