1
0
forked from mirrors/0ad

Made stance-setting work with multiplayer.

This was SVN commit r6274.
This commit is contained in:
Matei
2008-07-24 05:25:14 +00:00
parent 8244deee6a
commit 75a9b2f357
13 changed files with 95 additions and 632 deletions
+2 -2
View File
@@ -707,10 +707,10 @@ bool CEntity::ProcessPatrol( CEntityOrder* current, int UNUSED(timestep_millis)
bool CEntity::ProcessProduce( CEntityOrder* order )
{
CEventStartProduction evt( order->m_produce_type, order->m_produce_name );
CEventStartProduction evt( order->m_produce_type, order->m_name );
if( DispatchEvent( &evt ) && evt.GetTime() >= 0 )
{
m_productionQueue->AddItem( order->m_produce_type, order->m_produce_name, evt.GetTime() );
m_productionQueue->AddItem( order->m_produce_type, order->m_name, evt.GetTime() );
}
return( false );
}