]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/q3map2/bspfile_abstract.c
ported over the 1.5 branch version of q3map2 which is newer
[xonotic/netradiant.git] / tools / quake3 / q3map2 / bspfile_abstract.c
index ae2fec3091c7bb89916f85d12d03d3d485c6e371..a79d65b2b14515dfdfa0953e633a076dd92aa0fc 100644 (file)
@@ -1,4 +1,5 @@
-/*
+/* -------------------------------------------------------------------------------
+
 Copyright (C) 1999-2007 id Software, Inc. and contributors.
 For a list of contributors, see the accompanying CONTRIBUTORS file.
 
@@ -435,7 +436,7 @@ void PrintBSPFileSizes( void )
        Sys_Printf( "\n");
        
        Sys_Printf( "%9d lightmaps     %9d\n",
-               numBSPLightBytes / (LIGHTMAP_WIDTH * LIGHTMAP_HEIGHT * 3), numBSPLightBytes );
+               numBSPLightBytes / (game->lightmapSize * game->lightmapSize * 3), numBSPLightBytes );
        Sys_Printf( "%9d lightgrid     %9d *\n",
                numBSPGridPoints, (int) (numBSPGridPoints * sizeof( *bspGridPoints )) );
        Sys_Printf( "          visibility    %9d\n",