1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-17 01:32:21 +02:00

Battles: change naming from drawbridge to gate for everything

This way code is shorter and cleaner while in future we may support towns with gate only.
This commit is contained in:
Arseniy Shestakov
2016-02-13 17:40:31 +03:00
parent b946c52242
commit c5cfc8467f
16 changed files with 66 additions and 66 deletions

View File

@ -327,7 +327,7 @@ BattleInfo * BattleInfo::setupBattle( int3 tile, ETerrainType terrain, BFieldTyp
//setting up siege obstacles
if (town && town->hasFort())
{
curB->si.drawbridgeState = EDrawbridgeState::RAISED;
curB->si.gateState = EGateState::CLOSED;
for (int b = 0; b < curB->si.wallState.size(); ++b)
{