1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-21 00:19:29 +02:00

fix mingw build

(?) does this brake *nix build?
This commit is contained in:
AlexVinS
2014-06-24 18:17:25 +04:00
parent 13bc4cb24f
commit c7dc4c05b8
3 changed files with 14 additions and 3 deletions

View File

@ -1495,6 +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