mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +02:00
Merge branch 'develop' into SDL2
Conflicts: lib/NetPacks.h lib/NetPacksLib.cpp
This commit is contained in:
commit
c7772aa5a4
@ -1542,10 +1542,10 @@ struct CatapultAttack : public CPackForClient //3015
|
||||
h & destinationTile & attackedPart & damageDealt;
|
||||
}
|
||||
};
|
||||
|
||||
DLL_LINKAGE CatapultAttack();
|
||||
DLL_LINKAGE ~CatapultAttack();
|
||||
|
||||
|
||||
DLL_LINKAGE void applyGs(CGameState *gs);
|
||||
void applyCl(CClient *cl);
|
||||
DLL_LINKAGE std::string toString() const override;
|
||||
|
@ -1495,18 +1495,16 @@ DLL_LINKAGE void ObstaclesRemoved::applyGs( CGameState *gs )
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
DLL_LINKAGE CatapultAttack::CatapultAttack()
|
||||
{
|
||||
type = 3015;
|
||||
}
|
||||
|
||||
|
||||
|
||||
DLL_LINKAGE CatapultAttack::~CatapultAttack()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
DLL_LINKAGE void CatapultAttack::applyGs( CGameState *gs )
|
||||
{
|
||||
if(gs->curB && gs->curB->siege != CGTownInstance::NONE) //if there is a battle and it's a siege
|
||||
|
Loading…
Reference in New Issue
Block a user