From: Rudolf Polzer Date: Fri, 16 Sep 2011 04:55:21 +0000 (+0200) Subject: fix two obvious typos X-Git-Tag: xonotic-v0.6.0~67^2~3 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=commitdiff_plain;h=778563508dd51f2251355a57d9e063f467b1fbc7 fix two obvious typos --- diff --git a/tools/quake3/q3map2/bsp.c b/tools/quake3/q3map2/bsp.c index 414b92ad..54e14bf1 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" ) ) {