mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-29 07:32:30 +00:00
Added entity heal capabilities/
This was SVN commit r3127.
This commit is contained in:
@@ -7,7 +7,11 @@ CEventAttack::CEventAttack( CEntity* target ) : CScriptEvent( L"attack", EVENT_A
|
||||
m_target = target;
|
||||
AddLocalProperty( L"target", &m_target );
|
||||
}
|
||||
|
||||
CEventHeal::CEventHeal( CEntity* target ) : CScriptEvent( L"heal", EVENT_HEAL, true)
|
||||
{
|
||||
m_target=target;
|
||||
AddLocalProperty( L"target", &target );
|
||||
}
|
||||
CEventGather::CEventGather( CEntity* target ) : CScriptEvent( L"gather", EVENT_GATHER, true )
|
||||
{
|
||||
m_target = target;
|
||||
|
||||
Reference in New Issue
Block a user