fix two obvious typos

This commit is contained in:
Rudolf Polzer 2011-09-16 06:55:21 +02:00 committed by Thomas Debesse
parent 5432b04490
commit 1342e8ae5f

View file

@ -778,7 +778,7 @@ int BSPMain( int argc, char **argv ){
else if ( !strcmp( argv[ i ], "-np" ) ) { else if ( !strcmp( argv[ i ], "-np" ) ) {
npDegrees = atof( argv[ i + 1 ] ); npDegrees = atof( argv[ i + 1 ] );
if ( npDegrees < 0.0f ) { if ( npDegrees < 0.0f ) {
shadeAngleDegrees = 0.0f; npDegrees = 0.0f;
} }
else if ( npDegrees > 0.0f ) { else if ( npDegrees > 0.0f ) {
Sys_Printf( "Forcing nonplanar surfaces with a breaking angle of %f degrees\n", npDegrees ); Sys_Printf( "Forcing nonplanar surfaces with a breaking angle of %f degrees\n", npDegrees );