From 60d490fce640d18d39d64d04051987784ad3bab5 Mon Sep 17 00:00:00 2001 From: Spoike Date: Fri, 20 Jul 2012 18:54:52 +0000 Subject: [PATCH] stupid stupid bug. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4084 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/gl/gl_heightmap.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/engine/gl/gl_heightmap.c b/engine/gl/gl_heightmap.c index 94c18c398..a86659951 100644 --- a/engine/gl/gl_heightmap.c +++ b/engine/gl/gl_heightmap.c @@ -2217,13 +2217,13 @@ void Terr_ParseEntityLump(char *data, float *scale, int *minx, int *maxx, int *m if (!strcmp("segmentsize", key)) *scale = atof(com_token); else if (!strcmp("minxsegment", key)) - *minx = atoi(com_token) + CHUNKBIAS; + *minx = atoi(com_token); else if (!strcmp("minysegment", key)) - *miny = atoi(com_token) + CHUNKBIAS; + *miny = atoi(com_token); else if (!strcmp("maxxsegment", key)) - *maxx = atoi(com_token) + CHUNKBIAS; + *maxx = atoi(com_token); else if (!strcmp("maxysegment", key)) - *maxy = atoi(com_token) + CHUNKBIAS; + *maxy = atoi(com_token); } }