Merge branch 'master' of github.com:TrinityCore/TrinityCore

This commit is contained in:
jackpoz
2013-11-29 20:59:06 +01:00

View File

@@ -558,8 +558,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);
}