diff options
| author | Lopin <davca.hr@seznam.cz> | 2011-08-24 22:56:36 +0200 |
|---|---|---|
| committer | Lopin <davca.hr@seznam.cz> | 2011-08-24 22:56:36 +0200 |
| commit | f72cff430d5ca0585489e11c2db7b9e26e1fbe8d (patch) | |
| tree | e93672d200e105afc2b2ae8874b240fcaa674838 /src/server/game | |
| parent | 35b84256563d624a136672afec335ae9a088f48c (diff) | |
Core/Achievements: Added also check for player's team. Only defenders should get this achievement
Diffstat (limited to 'src/server/game')
| -rwxr-xr-x | src/server/game/Battlegrounds/Zones/BattlegroundSA.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/server/game/Battlegrounds/Zones/BattlegroundSA.h b/src/server/game/Battlegrounds/Zones/BattlegroundSA.h index 660e1327df5..1bc00459cd5 100755 --- a/src/server/game/Battlegrounds/Zones/BattlegroundSA.h +++ b/src/server/game/Battlegrounds/Zones/BattlegroundSA.h @@ -487,6 +487,9 @@ class BattlegroundSA : public Battleground // Achievement Defense of the Ancients bool gateDestroyed; + /// Id of attacker team + TeamId Attackers; + private: /** @@ -539,8 +542,6 @@ class BattlegroundSA : public Battleground /// Send packet to player for destroy boats (client part) void SendTransportsRemove(Player* player); - /// Id of attacker team - TeamId Attackers; /// Totale elapsed time of current round uint32 TotalTime; /// Max time of round |
