add comment.

This commit is contained in:
Thad Ward
2004-03-25 13:56:01 +00:00
parent 79631356d5
commit a4ea178310
+5 -1
View File
@@ -93,7 +93,11 @@ void ScreenDemonstration::Input( const DeviceInput& DeviceI, const InputEventTyp
{ {
//LOG->Trace( "ScreenDemonstration::Input()" ); //LOG->Trace( "ScreenDemonstration::Input()" );
// note: this code really is only needed because when one of these happens
// AttractInput calls SCREENMAN->SetNewScreen(), and we never get another chance
// to reset the volume in that case, and sounds then "vanish" everywhere.
// (should SetNewScreen() cause a SM_LoseFocus message to be sent to the top screen
// before it gets deleted?)
if( MenuI.IsValid() && type == IET_FIRST_PRESS ) if( MenuI.IsValid() && type == IET_FIRST_PRESS )
{ {
switch( MenuI.button ) switch( MenuI.button )