1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

* next part of sieges

This commit is contained in:
mateuszb
2009-09-05 14:10:26 +00:00
parent fc2a11359e
commit 05b0d82769
15 changed files with 185 additions and 33 deletions

View File

@@ -476,6 +476,13 @@ void CatapultAttack::applyCl( CClient *cl )
INTERFACE_CALL_IF_PRESENT(GS(cl)->curB->side2, battleCatapultAttacked, *this);
}
void BattleStacksRemoved::applyCl( CClient *cl )
{
//inform interfaces about removed stacks
INTERFACE_CALL_IF_PRESENT(GS(cl)->curB->side1, battleStacksRemoved, *this);
INTERFACE_CALL_IF_PRESENT(GS(cl)->curB->side2, battleStacksRemoved, *this);
}
CGameState* CPackForClient::GS( CClient *cl )
{
return cl->gs;