[ScreenSelectMaster] Add "ScreenEmpty" param to MenuStartP# when the GameCommand doesn't set a screen.

This commit is contained in:
AJ Kelly
2011-05-14 22:41:32 -05:00
parent dc143c58e6
commit afaa711038
2 changed files with 5 additions and 2 deletions
+3 -2
View File
@@ -812,8 +812,9 @@ void ScreenSelectMaster::MenuStart( const InputEventPlus &input )
mc.ApplyToAllPlayers();
// We want to be able to broadcast a Start message to the theme, in
// case a themer wants to handle something. -aj
// TODO: Add a param to differentiate this from the message below.
MESSAGEMAN->Broadcast( (MessageID)(Message_MenuStartP1+pn) );
Message msg( MessageIDToString((MessageID)(Message_MenuStartP1+pn)) );
msg.SetParam( "ScreenEmpty", true );
MESSAGEMAN->Broadcast( msg );
return;
}