From 778563508dd51f2251355a57d9e063f467b1fbc7 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Fri, 16 Sep 2011 06:55:21 +0200 Subject: [PATCH] fix two obvious typos --- tools/quake3/q3map2/bsp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/quake3/q3map2/bsp.c b/tools/quake3/q3map2/bsp.c index 414b92a..54e14bf 100644 --- a/tools/quake3/q3map2/bsp.c +++ b/tools/quake3/q3map2/bsp.c @@ -810,7 +810,7 @@ int BSPMain( int argc, char **argv ) { npDegrees = atof( argv[ i + 1 ] ); if( npDegrees < 0.0f ) - shadeAngleDegrees = 0.0f; + npDegrees = 0.0f; else if( npDegrees > 0.0f ) Sys_Printf( "Forcing nonplanar surfaces with a breaking angle of %f degrees\n", npDegrees ); i++; @@ -863,7 +863,7 @@ int BSPMain( int argc, char **argv ) metaAdequateScore = -1; i++; if( metaAdequateScore >= 0 ) - Sys_Printf( "Setting ADEQUATE meta score to %d (see surface_meta.c)\n", metaGoodScore ); + Sys_Printf( "Setting ADEQUATE meta score to %d (see surface_meta.c)\n", metaAdequateScore ); } else if( !strcmp( argv[ i ], "-metagoodscore" ) ) { -- 2.39.2