add push/pop messages
This commit is contained in:
@@ -431,6 +431,11 @@ bool OptionsList::Start( PlayerNumber pn )
|
|||||||
if( m_iMenuStackSelection == (int)bSelections.size() )
|
if( m_iMenuStackSelection == (int)bSelections.size() )
|
||||||
{
|
{
|
||||||
Pop();
|
Pop();
|
||||||
|
|
||||||
|
Message msg("OptionsListPop");
|
||||||
|
msg.SetParam( "Player", pn );
|
||||||
|
MESSAGEMAN->Broadcast( msg );
|
||||||
|
|
||||||
return m_asMenuStack.empty();
|
return m_asMenuStack.empty();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -439,6 +444,11 @@ bool OptionsList::Start( PlayerNumber pn )
|
|||||||
{
|
{
|
||||||
Push( sDest );
|
Push( sDest );
|
||||||
TweenOnCurrentRow( true );
|
TweenOnCurrentRow( true );
|
||||||
|
|
||||||
|
Message msg("OptionsListPush");
|
||||||
|
msg.SetParam( "Player", pn );
|
||||||
|
MESSAGEMAN->Broadcast( msg );
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user