mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
Merge branch 'master' of github.com:TrinityCore/TrinityCore
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user