diff options
author | gerripeach <phillip.wow@gmx.de> | 2013-11-29 17:07:15 +0800 |
---|---|---|
committer | gerripeach <phillip.wow@gmx.de> | 2013-11-29 17:07:15 +0800 |
commit | aef2d3963152e44ea12f869f0fe3b987b85538a8 (patch) | |
tree | 5a071d672164bcad2970097f504aa93171066781 | |
parent | 06f50110713feec2d6957e68ce2c5a5d2a997d6a (diff) |
Core/BG: Isle of Conquest - fix worldstates
-sometimes not all worldstates were shown correctly
-rw-r--r-- | src/server/game/Battlegrounds/Zones/BattlegroundIC.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/server/game/Battlegrounds/Zones/BattlegroundIC.cpp b/src/server/game/Battlegrounds/Zones/BattlegroundIC.cpp index 82d7de0d9bf..501c0b4c1f1 100644 --- a/src/server/game/Battlegrounds/Zones/BattlegroundIC.cpp +++ b/src/server/game/Battlegrounds/Zones/BattlegroundIC.cpp @@ -570,8 +570,12 @@ void BattlegroundIC::UpdateNodeWorldState(ICNodePoint* nodePoint) uint32 worldstate = nodePoint->worldStates[nodePoint->nodeState]; // with this we are sure we dont bug the client - for (uint8 i = 0; i < 4; ++i) + for (uint8 i = 0; i < 5; ++i) + { + if (nodePoint->worldStates[i] == worldstate) + continue; UpdateWorldState(nodePoint->worldStates[i], 0); + } UpdateWorldState(worldstate, 1); } |