]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
warn warn warn
authorrpolzer <rpolzer@61c419a2-8eb2-4b30-bcec-8cead039b335>
Tue, 23 Sep 2008 19:38:57 +0000 (19:38 +0000)
committerrpolzer <rpolzer@61c419a2-8eb2-4b30-bcec-8cead039b335>
Tue, 23 Sep 2008 19:38:57 +0000 (19:38 +0000)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@103 61c419a2-8eb2-4b30-bcec-8cead039b335

tools/quake3/q3map2/lightmaps_ydnar.c

index f27b1e26bd65f045375e95a05f6a85318bad4cb7..b4b6349fb4bb2713b7e2d7a6daa3e9ec06228cc6 100644 (file)
@@ -687,15 +687,15 @@ qboolean AddSurfaceToRawLightmap( int num, rawLightmap_t *lm )
 
        if(sampleSize != lm->sampleSize)
        {
-               Sys_FPrintf(SYS_VRB,"WARNING: surface at (%6.0f %6.0f %6.0f) (%6.0f %6.0f %6.0f) too large for desired samplesize/lightmapsize combination, increased samplesize from %.1f to %.1f\n",
+               Sys_FPrintf(SYS_VRB,"WARNING: surface at (%6.0f %6.0f %6.0f) (%6.0f %6.0f %6.0f) too large for desired samplesize/lightmapsize/lightmapscale combination, increased samplesize from %d to %d\n",
                        info->mins[0],
                        info->mins[1],
                        info->mins[2],
                        info->maxs[0],
                        info->maxs[1],
                        info->maxs[2],
-                       (double) lm->sampleSize,
-                       (double) sampleSize);
+                       lm->sampleSize,
+                       (int) sampleSize);
        }
        
        /* set actual sample size */