From 1342e8ae5f7b871a0f3608c4551e1a9be580e238 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/quake3/q3map2/bsp.c b/tools/quake3/q3map2/bsp.c index 384933d6..231db0ad 100644 --- a/tools/quake3/q3map2/bsp.c +++ b/tools/quake3/q3map2/bsp.c @@ -778,7 +778,7 @@ int BSPMain( int argc, char **argv ){ else if ( !strcmp( argv[ i ], "-np" ) ) { 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 );