fix messages never processed in NoteField
This commit is contained in:
@@ -725,6 +725,14 @@ void Player::Update( float fDeltaTime )
|
|||||||
ApplyWaitingTransforms();
|
ApplyWaitingTransforms();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Player::ProcessMessages( float fDeltaTime )
|
||||||
|
{
|
||||||
|
ActorFrame::ProcessMessages( fDeltaTime );
|
||||||
|
|
||||||
|
if( m_pNoteField )
|
||||||
|
m_pNoteField->ProcessMessages( fDeltaTime );
|
||||||
|
}
|
||||||
|
|
||||||
void Player::ApplyWaitingTransforms()
|
void Player::ApplyWaitingTransforms()
|
||||||
{
|
{
|
||||||
for( unsigned j=0; j<m_pPlayerState->m_ModsToApply.size(); j++ )
|
for( unsigned j=0; j<m_pPlayerState->m_ModsToApply.size(); j++ )
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ public:
|
|||||||
~Player();
|
~Player();
|
||||||
|
|
||||||
virtual void Update( float fDeltaTime );
|
virtual void Update( float fDeltaTime );
|
||||||
|
virtual void ProcessMessages( float fDeltaTime );
|
||||||
virtual void DrawPrimitives();
|
virtual void DrawPrimitives();
|
||||||
virtual void HandleMessage( const CString& sMessage );
|
virtual void HandleMessage( const CString& sMessage );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user