add push/pop messages

This commit is contained in:
Chris Danford
2007-03-08 01:36:01 +00:00
parent 92554ae224
commit b4ab6c372f
+10
View File
@@ -431,6 +431,11 @@ bool OptionsList::Start( PlayerNumber pn )
if( m_iMenuStackSelection == (int)bSelections.size() )
{
Pop();
Message msg("OptionsListPop");
msg.SetParam( "Player", pn );
MESSAGEMAN->Broadcast( msg );
return m_asMenuStack.empty();
}
@@ -439,6 +444,11 @@ bool OptionsList::Start( PlayerNumber pn )
{
Push( sDest );
TweenOnCurrentRow( true );
Message msg("OptionsListPush");
msg.SetParam( "Player", pn );
MESSAGEMAN->Broadcast( msg );
return false;
}