|
@@ -600,6 +600,17 @@ void ExchangeDialog::applyCl(CClient *cl)
|
|
|
INTERFACE_CALL_IF_PRESENT(heroes[0]->tempOwner, heroExchangeStarted, heroes[0]->id, heroes[1]->id, queryID);
|
|
|
}
|
|
|
|
|
|
+void BattleStart::applyFirstCl( CClient *cl )
|
|
|
+{
|
|
|
+ //Cannot use the usual macro because curB is not set yet
|
|
|
+ CALL_ONLY_THAT_BATTLE_INTERFACE(info->sides[0].color, battleStartBefore, info->sides[0].armyObject, info->sides[1].armyObject,
|
|
|
+ info->tile, info->sides[0].hero, info->sides[1].hero);
|
|
|
+ CALL_ONLY_THAT_BATTLE_INTERFACE(info->sides[1].color, battleStartBefore, info->sides[0].armyObject, info->sides[1].armyObject,
|
|
|
+ info->tile, info->sides[0].hero, info->sides[1].hero);
|
|
|
+ BATTLE_INTERFACE_CALL_RECEIVERS(battleStartBefore, info->sides[0].armyObject, info->sides[1].armyObject,
|
|
|
+ info->tile, info->sides[0].hero, info->sides[1].hero);
|
|
|
+}
|
|
|
+
|
|
|
void BattleStart::applyCl( CClient *cl )
|
|
|
{
|
|
|
cl->battleStarted(info);
|