From: divverent Date: Fri, 25 Nov 2011 11:59:43 +0000 (+0000) Subject: fix typo X-Git-Tag: xonotic-v0.6.0~153 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=64d889537b985c0f7934d0b72640bd6c97e5c604;p=xonotic%2Fdarkplaces.git fix typo git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11569 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=c045b78caa00d7489cd84bbfdd0d5fe857fbba95 --- diff --git a/model_brush.c b/model_brush.c index 6fceeb87..c3ab5ade 100644 --- a/model_brush.c +++ b/model_brush.c @@ -7300,7 +7300,7 @@ static void Mod_Q3BSP_Load(dp_model_t *mod, void *buffer, void *bufferend) // neutral point is at Image_sRGBFloatFromLinearFloat(0.5) // so we need to map Image_sRGBFloatFromLinearFloat(0.5) to 0.5 // factor is 0.5 / Image_sRGBFloatFromLinearFloat(0.5) - mod->lightmapscale *= 0.679942f; // fixes neutral level + loadmodel->lightmapscale *= 0.679942f; // fixes neutral level } Con_DPrintf("Stats for q3bsp model \"%s\": %i faces, %i nodes, %i leafs, %i clusters, %i clusterportals, mesh: %i vertices, %i triangles, %i surfaces\n", loadmodel->name, loadmodel->num_surfaces, loadmodel->brush.num_nodes, loadmodel->brush.num_leafs, mod->brush.num_pvsclusters, loadmodel->brush.num_portals, loadmodel->surfmesh.num_vertices, loadmodel->surfmesh.num_triangles, loadmodel->num_surfaces);