]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/q3map2/bspfile_abstract.c
merge branch work back into trunk
[xonotic/netradiant.git] / tools / quake3 / q3map2 / bspfile_abstract.c
index 88b251c5319ee9362c7047618cede03d22eb82f9..31b6f171bd4a425d9fe586ada8b2e122ed62ab5b 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.
 
@@ -453,7 +454,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",