From 25a5bfa7e793be382c1b1d521fc4de7da5094c39 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 8 Jan 2005 22:08:31 +0000 Subject: [PATCH] Remove "blendmode,brighten"; it's the same as "blend,add", use that instead. --- stepmania/src/Actor.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/stepmania/src/Actor.cpp b/stepmania/src/Actor.cpp index 07fa327121..fe3d573d8b 100644 --- a/stepmania/src/Actor.cpp +++ b/stepmania/src/Actor.cpp @@ -696,11 +696,10 @@ void Actor::HandleCommand( const Command &command ) else if( sName=="diffusecolor" ) SetDiffuseColor( cArg(1) ); else if( sName=="glow" ) SetGlow( cArg(1) ); else if( sName=="glowmode" ) { - if(!sArg(1).CompareNoCase("whiten")) + if( !sArg(1).CompareNoCase("whiten") ) SetGlowMode( GLOW_WHITEN ); - else if(!sArg(1).CompareNoCase("brighten")) - SetGlowMode( GLOW_BRIGHTEN ); - else ASSERT(0); + else + FAIL_M( ssprintf("Unknown GlowMode \"%s\"", sArg(1).c_str()) ); } else if( sName=="rotationx" ) SetRotationX( fArg(1) ); else if( sName=="rotationy" ) SetRotationY( fArg(1) );