]> git.xonotic.org Git - xonotic/netradiant.git/commitdiff
fix two obvious typos
authorRudolf Polzer <divverent@xonotic.org>
Fri, 16 Sep 2011 04:55:21 +0000 (06:55 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Fri, 16 Sep 2011 04:55:21 +0000 (06:55 +0200)
tools/quake3/q3map2/bsp.c

index 414b92ad564d3ddda495ba0bda6c8845f5915897..54e14bf12f895f2e9bd1039bce48bbe249211757 100644 (file)
@@ -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" ) )
                {